{"answers":{"affected":"","exploited":"There is no known exploitation of openSUSE-SU-2022:10170-1 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"openSUSE-SU-2022:10170-1 is a cross-site scripting vulnerability in cacti, published on 30 Oct 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for openSUSE-SU-2022:10170-1 and fix it if it is affected.\n\nWhat it is: openSUSE-SU-2022:10170-1 is a cross-site scripting vulnerability in cacti, published on 30 Oct 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of openSUSE-SU-2022:10170-1 in the wild and no public exploit code.\n\nAffected product: cacti. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/openSUSE-SU-2022-10170-1/ (Markdown: https://insights.sbomify.com/openSUSE-SU-2022-10170-1/index.md)","id":"openSUSE-SU-2022:10170-1","markdown":"https://insights.sbomify.com/openSUSE-SU-2022-10170-1/index.md","name":"openSUSE-SU-2022:10170-1","record":{"aliases":[],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Network monitoring tool","requires_auth":"low_privilege","summary":"An attacker can inject malicious scripts via graph creation, potentially leading to code execution or account takeover in Cacti.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"This update for cacti, cacti-spine fixes the following issues:\n\ncacti-spine 1.2.22, delivering a number of bug fixes:\n\n* When polling time is exceed, spine does not always exit as expected\n* Spine logging at `-V 5` includes an extra line feed\n* Incorrect SNMP responses can cause spine to crash\n* Properly handle devices that timeout responding to the Extended Uptime\n* MariaDB can cause spine to abort prematurely despite error handling\n* Spine should log the error time when exiting via signal\n\ncacti-spine 1.2.21:\n\n* Disable DES if Net-SNMP doesn't have it\n\ncacti 1.2.22, providing one security fix, a number of bug fixes and a collection of improvements:\n\n* When creating new graphs, cross site injection is possible\n  (boo#1203952)\n* When creating user from template, multiple Domain FullName and\n  Mail are not propagated\n* Nectar Aggregate 95th emailed report broken\n* Boost may not find archive tables correctly\n* Users may be unable to change their password when forced during\n  a login\n* Net-SNMP Memory Graph Template has Wrong GPRINT\n* Search in tree view unusable on larger installations\n* Increased bulk insert size to avoid partial inserts and potential\n  data loss.\n* Call to undefined function boost_debug in Cacti log\n* When no guest template is set, login cookies are not properly set\n* Later RRDtool releases do not need to check last_update time\n* Regex filters are not always long enough\n* Domains based LDAP and AD Fullname and Email not auto-populated\n* Cacti polling and boost report the wrong number of Data Sources\n  when Devices are disabled\n* When editing Graph Template Items there are cases where VDEF's\n  are hidden when they should be shown\n* Database SSL setting lacks default value\n* Update default path cacti under *BSD by xmacan\n* Web Basic authentication not creating template user\n* Unable to change the Heartbeat of a Data Source Profile\n* Tree Search Does Not Properly Search All Trees\n* When structured paths are setup, RRDfiles may not always be\n  created when possible\n* When parsing the logs, caching would help speed up processing\n* Deprecation warnings when attempting real-time Graphs with PHP8.1\n* Custom Timespan is lost when clicking other tree branches\n* Non device based Data Sources not being polled\n* When Resource XML file inproperly formatted, graph creation can\n  fail with errors\n* Update code style to support PHP 8 requirements\n* None' shows all graphs\n* Realtime popup window experiences issues on some browsers\n* Auth settings do not always properly reflect the options selected\n  by ddb4github\n* MySQL can cause cacti to become stalled due to locking issues\n* Boost process can get hung under rare conditions until the poller\n  times out\n* Exporting graphs under PHP 8 can cause errors\n* Host table has wrong default for disabled and deleted columns\n* RRD storage paths do not scale properly\n* When importing, make it possible to only import certain\n  components\n* Update change_device script to include new features by\n  bmfmancini\n* Make help pages use latest online version wherever possible\n* Cacti should show PHP INI locations during install\n* Detect PHP INI values that are different in the INI vs running\n  config\n* Added Gradient Color support for AREA charts by thurban\n* Update CDEF functions for RRDtool\n* When boost is running, it's not clear which processes are\n  running and how long they have to complete\n\ncacti 1.2.21:\n\n* Add a CLI script to install/enable/disable/uninstall plugins\n* Add log message when purging DS stats and poller repopulate\n* A collection of bug fixes","ecosystems":["SUSE:Package Hub 12","SUSE:Package Hub 15 SP3","SUSE:Package Hub 15 SP4","openSUSE:Leap 15.3","openSUSE:Leap 15.4"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Security update for cacti, cacti-spine","id":"openSUSE-SU-2022:10170-1","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2022"},"n_packages":10,"n_references":null,"packages":[{"ecosystem":"SUSE:Package Hub 12","fixed":["1.2.22-bp154.2.3.1"],"introduced":["0"],"last_affected":[],"package":"cacti","purl":"pkg:rpm/suse/cacti\u0026distro=SUSE%20Package%20Hub%2012","source":"openSUSE-SU-2022:10170-1"},{"ecosystem":"SUSE:Package Hub 12","fixed":["1.2.22-bp154.2.3.1"],"introduced":["0"],"last_affected":[],"package":"cacti-spine","purl":"pkg:rpm/suse/cacti-spine\u0026distro=SUSE%20Package%20Hub%2012","source":"openSUSE-SU-2022:10170-1"},{"ecosystem":"SUSE:Package Hub 15 SP3","fixed":["1.2.22-bp154.2.3.1"],"introduced":["0"],"last_affected":[],"package":"cacti","purl":"pkg:rpm/suse/cacti\u0026distro=SUSE%20Package%20Hub%2015%20SP3","source":"openSUSE-SU-2022:10170-1"},{"ecosystem":"SUSE:Package Hub 15 SP3","fixed":["1.2.22-bp154.2.3.1"],"introduced":["0"],"last_affected":[],"package":"cacti-spine","purl":"pkg:rpm/suse/cacti-spine\u0026distro=SUSE%20Package%20Hub%2015%20SP3","source":"openSUSE-SU-2022:10170-1"},{"ecosystem":"SUSE:Package Hub 15 SP4","fixed":["1.2.22-bp154.2.3.1"],"introduced":["0"],"last_affected":[],"package":"cacti","purl":"pkg:rpm/suse/cacti\u0026distro=SUSE%20Package%20Hub%2015%20SP4","source":"openSUSE-SU-2022:10170-1"},{"ecosystem":"SUSE:Package Hub 15 SP4","fixed":["1.2.22-bp154.2.3.1"],"introduced":["0"],"last_affected":[],"package":"cacti-spine","purl":"pkg:rpm/suse/cacti-spine\u0026distro=SUSE%20Package%20Hub%2015%20SP4","source":"openSUSE-SU-2022:10170-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["1.2.22-bp154.2.3.1"],"introduced":["0"],"last_affected":[],"package":"cacti","purl":"pkg:rpm/opensuse/cacti\u0026distro=openSUSE%20Leap%2015.3","source":"openSUSE-SU-2022:10170-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["1.2.22-bp154.2.3.1"],"introduced":["0"],"last_affected":[],"package":"cacti-spine","purl":"pkg:rpm/opensuse/cacti-spine\u0026distro=openSUSE%20Leap%2015.3","source":"openSUSE-SU-2022:10170-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["1.2.22-bp154.2.3.1"],"introduced":["0"],"last_affected":[],"package":"cacti","purl":"pkg:rpm/opensuse/cacti\u0026distro=openSUSE%20Leap%2015.4","source":"openSUSE-SU-2022:10170-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["1.2.22-bp154.2.3.1"],"introduced":["0"],"last_affected":[],"package":"cacti-spine","purl":"pkg:rpm/opensuse/cacti-spine\u0026distro=openSUSE%20Leap%2015.4","source":"openSUSE-SU-2022:10170-1"}],"products":null,"published":"2022-10-30","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"An attacker can inject malicious scripts via graph creation, potentially leading to code execution or account takeover in Cacti.","url":"https://insights.sbomify.com/openSUSE-SU-2022-10170-1/"}