Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Salvatore Bonaccorso
Tue, 01 Dec 2026 21:10
Bug#1156090: cacti: GHSA-5x85-g4vc-gq53: Authenticated SQL injection (stacked queries) via unvalidated profile setting reaching ...
Author: Salvatore Bonaccorso
Date: Tue, 01 Dec 2026 21:10
Date: Tue, 01 Dec 2026 21:10
30 lines
4001 bytes
4001 bytes
Source: cacti Version: 1.2.31+ds1-4 Severity: grave Tags: security upstream Justification: user security hole Forwarded: https://github.com/Cacti/cacti/pull/9013 https://github.com/Cacti/cacti/pull/9014 X-Debbugs-Cc: carnil@debian.org, Debian Security Team <team@security.debian.org> Hi From https://github.com/Cacti/cacti/security/advisories/GHSA-5x85-g4vc-gq53: | auth_profile.php?action=update_data stores the posted value without | any validation for every key of $settings_user. The key | preview_graphs_per_page is later used as the default of the graphs | request variable on the graph preview page, | validate_store_request_vars() applies defaults without running the | configured filter, and the value is then concatenated into the LIMIT | clause of an unprepared query in get_allowed_graphs(). Because the PDO | connection keeps the driver defaults (emulated prepares, multi- | statements enabled), the attacker can append arbitrary SQL statements. | | Required privilege: a logged-in user with realm 7 "View Graphs" and | realm 20 "Update Profile" — both are part of the default "Normal | User" permission set. No non-default configuration is needed. Verified | outcome: the attacker grants themselves console realms (full | administrator), from where Cacti's intended features (data input | methods, plugins, path settings) give OS command execution. Maintenance patch: https://github.com/Cacti/cacti/pull/9013 https://github.com/Cacti/cacti/commit/8910e2aa42bf30d313bdce91c562cb377f3442eb and additionally defense-in-depth patch: https://github.com/Cacti/cacti/pull/9014 https://github.com/Cacti/cacti/commit/49fd19b5eb81c550225a6a3475c6f10384be37dc Regards, Salvatore
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads