The application Piwigo is affected by a SQL injection vulnerability in version 2.9.0 and possibly prior. This vulnerability allows remote authenticated attackers to obtain information in the context of the user used by the application to retrieve data from the database. The user_list_backend.php component is affected: values of the iDisplayStart & iDisplayLength parameters are not sanitized; these are used to construct a SQL query and retrieve a list of registered users into the application.
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Link | Tags |
---|---|
https://github.com/Piwigo/Piwigo/issues/705 | issue tracking third party advisory patch |
https://github.com/Piwigo/Piwigo/commit/42920897ce927c236728d387f61bf03d117109a2 | issue tracking third party advisory patch |
https://www.wizlynxgroup.com/security-research-advisories/vuln/WLX-2017-003 | issue tracking third party advisory |