CVE-2023-39358
published high CVSS 3.1 · 8.8Authenticated SQL injection vulnerability in reports_user.php in Cacti
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Cacti | — | cacti< 1.2.25 | Affected | Not stated | GitHub_M |
| cacti | — | cacti0 to < 1.2.25 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Alpine Linux | edge | cacti | Fixed | 1.2.25-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Leap-15.4 | cactinoarch | Advisory build | 1.2.25-bp155.2.3.1 | OPENSUSE-SU-2023:0275-1 |
| Alpine Linux | v3.18 | cacti | Fixed | 1.2.26-r0 | Package fix record |
| Alpine Linux | v3.19 | cacti | Fixed | 1.2.25-r0 | Package fix record |
| Alpine Linux | v3.20 | cacti | Fixed | 1.2.25-r0 | Package fix record |
| Alpine Linux | v3.21 | cacti | Fixed | 1.2.25-r0 | Package fix record |
Show 18 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.22 | cacti | Fixed | 1.2.25-r0 | Package fix record |
| Alpine Linux | v3.23 | cacti | Fixed | 1.2.25-r0 | Package fix record |
| Alpine Linux | v3.24 | cacti | Fixed | 1.2.25-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cactinoarch | Advisory build | 1.2.25-bp155.2.3.1 | OPENSUSE-SU-2023:0275-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cactiaarch64 | Advisory build | 1.2.25-2.1 | OPENSUSE-SU-2024:13203-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cactippc64le | Advisory build | 1.2.25-2.1 | OPENSUSE-SU-2024:13203-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cactis390x | Advisory build | 1.2.25-2.1 | OPENSUSE-SU-2024:13203-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cactix86_64 | Advisory build | 1.2.25-2.1 | OPENSUSE-SU-2024:13203-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | cacti-spineaarch64 | Advisory build | 1.2.25-bp155.2.3.1 | OPENSUSE-SU-2023:0275-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | cacti-spinei586 | Advisory build | 1.2.25-bp155.2.3.1 | OPENSUSE-SU-2023:0275-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | cacti-spineppc64le | Advisory build | 1.2.25-bp155.2.3.1 | OPENSUSE-SU-2023:0275-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | cacti-spines390x | Advisory build | 1.2.25-bp155.2.3.1 | OPENSUSE-SU-2023:0275-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | cacti-spinex86_64 | Advisory build | 1.2.25-bp155.2.3.1 | OPENSUSE-SU-2023:0275-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cacti-spineaarch64 | Advisory build | 1.2.25-bp155.2.3.1 | OPENSUSE-SU-2023:0275-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cacti-spinei586 | Advisory build | 1.2.25-bp155.2.3.1 | OPENSUSE-SU-2023:0275-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cacti-spineppc64le | Advisory build | 1.2.25-bp155.2.3.1 | OPENSUSE-SU-2023:0275-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cacti-spines390x | Advisory build | 1.2.25-bp155.2.3.1 | OPENSUSE-SU-2023:0275-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | cacti-spinex86_64 | Advisory build | 1.2.25-bp155.2.3.1 | OPENSUSE-SU-2023:0275-1 |
Description
Cacti is an open source operational monitoring and fault management framework. An authenticated SQL injection vulnerability was discovered which allows authenticated users to perform privilege escalation and remote code execution. The vulnerability resides in the `reports_user.php` file. In `ajax_get_branches`, the `tree_id` parameter is passed to the `reports_get_branch_select` function without any validation. This issue has been addressed in version 1.2.25. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Cacti | cacti | < 1.2.25 (affected) | GitHub_M · cna |
| cacti | cacti | 0 to < 1.2.25 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
4- https://github.com/Cacti/cacti/security/advisories/GHSA-gj95-7xr8-9p7g
- https://lists.fedoraproject.org/archives/list/[email protected]/message/CFH3J2WVBKY4ZJNMARVOWJQK6PSLPHFH/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/WOQFYGLZBAWT4AWNMO7DU73QXWPXTCKH/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/WZGB2UXJEUYWWA6IWVFQ3ZTP22FIHMGN/
Provider assertions
3GitHub_M · cna
Authenticated SQL injection vulnerability in reports_user.php in Cacti
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e6fa94106c110f95087f19a3d82371452cca86a8bfd68e4975ba7e5867c22c44
- Ingested
- 23 Sep 2026, 08:10:43 UTC
- Source record
- Official CVE record