Description
In pfSense CE /usr/local/www/status_traffic_totals.php, the value of the start-day parameter is not ensured to be a numeric value or sanitized of HTML-related characters/strings before being directly displayed in the input box. This value can be saved as the default value to be displayed to all users when visiting the Status Traffic Totals page, resulting in stored cross-site scripting. The attacker must be authenticated with at least "WebCfg - Status: Traffic Totals" permissions.
Problem types
CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')
Product status
2.3.2_7 (custom)
Credits
Alex Williams (Pellera Technologies)
References
github.com/...ommit/9e412edf62113303c36c7f7d5a48b0a3fb0be893
redmine.pfsense.org/issues/16413
www.vulncheck.com/...nse-ce-status-traffic-totals-stored-xss