Vulnerability Details : CVE-2017-17822
The List Users API of Piwigo 2.9.2 is vulnerable to SQL Injection via the /admin/user_list_backend.php sSortDir_0 parameter. An attacker can exploit this to gain access to the data in a connected MySQL database.
Vulnerability category: Sql Injection
Products affected by CVE-2017-17822
- cpe:2.3:a:piwigo:piwigo:2.9.2:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2017-17822
0.09%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 37 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2017-17822
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.0
|
MEDIUM | AV:N/AC:L/Au:S/C:P/I:N/A:N |
8.0
|
2.9
|
NIST | |
4.9
|
MEDIUM | CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
1.2
|
3.6
|
NIST |
CWE ids for CVE-2017-17822
-
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.Assigned by: nvd@nist.gov (Primary)
References for CVE-2017-17822
-
https://github.com/sahildhar/sahildhar.github.io/blob/master/research/reports/Piwigo_2.9.2/Multiple%20SQL%20Injection%20Vulnerabilities%20in%20Piwigo%202.9.2.md
sahildhar.github.io/Multiple SQL Injection Vulnerabilities in Piwigo 2.9.2.md at master · sahildhar/sahildhar.github.io · GitHubThird Party Advisory
-
https://github.com/Piwigo/Piwigo/commit/33a03e9afb8fb00c9d8f480424d549311fe03d40
(cp 1da9d6a) fixes #823 add input user check to avoid SQLi on users list · Piwigo/Piwigo@33a03e9 · GitHubThird Party Advisory
-
https://github.com/Piwigo/Piwigo/issues/823
SQL injection in admin/users · Issue #823 · Piwigo/Piwigo · GitHubThird Party Advisory
Jump to