Bug 1224236 (CVE-2024-31444)

Summary: VUL-0: CVE-2024-31444: cacti: cross-site scripting vulnerability when reading tree rules with Automation API
Product: [openSUSE] openSUSE Distribution Reporter: SMASH SMASH <smash_bz>
Component: SecurityAssignee: Security Team bot <security-team>
Status: RESOLVED FIXED QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: Andreas.Stieger, camila.matos
Version: Leap 15.6   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/405128/
Whiteboard:
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-05-14 18:18:16 UTC
Cacti provides an operational monitoring and fault management framework. Prior to version 1.2.27, some of the data stored in `automation_tree_rules_form_save()` function in `automation_tree_rules.php` is not thoroughly checked and is used to concatenate the HTML statement in `form_confirm()` function from `lib/html.php` , finally resulting in cross-site scripting. Version 1.2.27 contains a patch for the issue.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-31444
https://www.cve.org/CVERecord?id=CVE-2024-31444
https://github.com/Cacti/cacti/security/advisories/GHSA-p4ch-7hjw-6m87
Comment 2 OBSbugzilla Bot 2024-05-14 19:25:07 UTC
This is an autogenerated message for OBS integration:
This bug (1224236) was mentioned in
https://build.opensuse.org/request/show/1174071 Factory / cacti
https://build.opensuse.org/request/show/1174072 Backports:SLE-12+Backports:SLE-15-SP5 / cacti+cacti-spine
Comment 3 OBSbugzilla Bot 2024-05-14 20:55:07 UTC
This is an autogenerated message for OBS integration:
This bug (1224236) was mentioned in
https://build.opensuse.org/request/show/1174083 Backports:SLE-12+Backports:SLE-15-SP5 / cacti+cacti-spine
Comment 4 Andreas Stieger 2024-05-15 19:31:30 UTC
done