Vulnerability · Published Dec 22, 2023 · Assigned by GitHub_M
CVE-2023-49085Cacti SQL Injection vulnerability
High 8.8
In plain English
A high-severity SQL injection in cacti from Cacti. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 74.5% (higher than 99.5% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit. Fixed versions are available - upgrade the affected package.
Official description
Cacti provides an operational monitoring and fault management framework. In versions 1.2.25 and prior, it is possible to execute arbitrary SQL code through the `pollers.php` script. An authorized user may be able to execute arbitrary SQL code. The vulnerable component is the `pollers.php`. Impact of the vulnerability - arbitrary SQL code execution. As of time of publication, a patch does not appear to exist.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | cacti | 1.2.26-r0 | ALPINE-CVE-2023-49085 |
| Alpine:v3.21 | cacti | 1.2.26-r0 | ALPINE-CVE-2023-49085 |
| Alpine:v3.22 | cacti | 1.2.26-r0 | ALPINE-CVE-2023-49085 |
| Alpine:v3.23 | cacti | 1.2.26-r0 | ALPINE-CVE-2023-49085 |
| Alpine:v3.24 | cacti | 1.2.26-r0 | ALPINE-CVE-2023-49085 |
| Debian:12 | cacti | 1.2.24+ds1-1+deb12u2 | DEBIAN-CVE-2023-49085 |
| Debian:12 | cacti | 1.2.24+ds1-1+deb12u2 | DSA-5646-1 |
| Debian:13 | cacti | 1.2.26+ds1-1 | DEBIAN-CVE-2023-49085 |
| Debian:14 | cacti | 1.2.26+ds1-1 | DEBIAN-CVE-2023-49085 |
Affected products (as reported)
Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/Cacti/cacti/security/advisories/GHSA-vr3c-38wh-g855 x_refsource_CONFIRM
- https://github.com/Cacti/cacti/blob/5f6f65c215d663a775950b2d9db35edbaf07d680/pollers.php#L451 x_refsource_MISC
- http://packetstormsecurity.com/files/176995/Cacti-pollers.php-SQL-Injection-Remote-Code-Execution.html
- https://lists.debian.org/debian-lts-announce/2024/03/msg00018.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/