CVE-2019-15537 SQL Injection in SimpleSAMLphp
An attacker can execute arbitrary SQL commands via the proxystatistics module in SimpleSAMLphp, potentially reading or modifying database contents.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-15537?
CVE-2019-15537 is a critical SQL injection vulnerability in n/a, published on 23 Aug 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The proxystatistics module before 3.1.0 for SimpleSAMLphp allows SQL Injection in lib/Auth/Process/DatabaseCommand.php.
Weakness: CWE-89
Which versions are affected by CVE-2019-15537?
2 open source packages ship an affected version, including cesnet/simplesamlphp-module-proxystatistics. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
cesnet/simplesamlphp-module-proxystatistics Packagist | All versions | 3.1.0 |
cesnet/simplesamlphp-module-proxystatistics Packagist | All versions | 3.1.0 |
Products include Cesnet Proxystatistics.
How do I fix CVE-2019-15537?
Upgrade cesnet/simplesamlphp-module-proxystatistics to 3.1.0 or later.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2019-15537 being exploited?
There is no known exploitation of CVE-2019-15537 in the wild and no public exploit code.
Sources
Also known as GHSA-852q-xxj4-x2rx.