SQL injection in structure plugin
The Structure plugin for ExpressionEngine passed the channel_ids parameter straight into SQL queries without sanitising it, so the delete_channels() function was injectable. An admin with limited privileges could use it to run their own SQL against the database.
- Triaged in 9 days
- Fixed in 6 months
- Disclosed after 6 months
Summary by the program
Title: SQL Injection in Structure Plugin Vulnerability: An SQL injection flaw was discovered in ExpressionEngine's Structure plugin, specifically in the delete_channels() function. User input from the channel_ids parameter is passed directly into SQL queries without proper sanitization. Although the vulnerability requires admin panel access, a limited-privilege admin could exploit it
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
A limited-privilege admin could inject SQL through the channel_ids parameter in delete_channels().
What the attacker needed
Admin panel access; a limited-privilege admin account
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
SQL is the language databases use to store and fetch data. When a website builds a database command by gluing in text a user supplied, that user can sneak in extra database instructions, which is called SQL injection. Here the text came from a parameter called channel_ids, and the only barrier was that you needed to be logged in as some kind of admin.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.