Description
Cacti's sanitize_sql_column (lib/functions.php) sanitizes user-supplied ORDER BY column names using the regex . Because this allowlist retains letters, digits, underscore, parentheses, and dot (intended to support expressions like COUNT(id) and table.column), a payload such as passes through completely unmodified.
Mitigation
Minimal update. May introduce new vulnerabilities or breaking changes.
|
 debian 12 | | =1.2.24+ds1-1 || =1.2.24+ds1-1+deb12u1 || =1.2.24+ds1-1+deb12u2 || =1.2.24+ds1-1+deb12u3 || =1.2.24+ds1-1+deb12u4 || =1.2.24+ds1-1+deb12u5 || =1.2.25+ds1-1 || =1.2.25+ds1-2 || =1.2.26+ds1-1 || =1.2.27+ds1-1 || =1.2.27+ds1-2 || =1.2.28+ds1-1 || =1.2.28+ds1-2 || =1.2.28+ds1-3 || =1.2.28+ds1-4 || =1.2.30+ds1-1 || =1.2.30+ds1-2 || =1.2.30+ds1-3 || =1.2.31+ds1-1 || =1.2.31+ds1-2 || =1.2.31+ds1-3 || =1.2.31+ds1-4 |
 debian 14 | | =1.2.30+ds1-1 || =1.2.30+ds1-2 || =1.2.30+ds1-3 || =1.2.31+ds1-1 || =1.2.31+ds1-2 || =1.2.31+ds1-3 || =1.2.31+ds1-4 |
 debian 13 | | =1.2.30+ds1-1 || =1.2.30+ds1-2 || =1.2.30+ds1-3 || =1.2.31+ds1-1 || =1.2.31+ds1-2 || =1.2.31+ds1-3 || =1.2.31+ds1-4 |