Horizon Alert
Summary of the vulnerability and why it matters
A critical vulnerability in Snipe-IT's custom CSS feature allows privileged users to inject malicious code that could lead to the theft of sensitive information and account takeover for other administrators. This issue arises from incomplete sanitization of user-provided CSS, enabling attackers to craft specific styles that exfiltrate security tokens.
- Unsanitized custom CSS allows admin account takeover.
- Critical for protecting privileged access and data.
- Confirm relevance and assess exposure to protected data.
Attack Path
How an attacker could exploit the issue
An attacker with superuser privileges can inject malicious CSS code into the Custom CSS field. This code can be crafted to exfiltrate sensitive information, such as CSRF tokens, from other superusers when they interact with the application. The vulnerability arises from improper handling of HTML encoding in the Custom CSS input, allowing attackers to construct payloads that are executed in the context of other users.
- Requires superuser access.
- Injects malicious CSS via Custom CSS.
- Enables account takeover via token exfiltration.
Live Threat
Current exploitation, exposure, and threat context
A CSS injection vulnerability could allow a malicious actor with superuser privileges to craft specific CSS payloads. When rendered by other superusers, these payloads could exfiltrate sensitive CSRF tokens, potentially enabling account takeover.
- User session tokens at risk.
- Malicious CSS via Custom CSS field.
- Account takeover of other superusers.
Operational Fix
Recommended remediation, mitigation, and detection steps
The most practical first step is for teams managing the Snipe-IT application, likely IT or platform owners, to identify all instances of the software. This should be followed by an assessment of each instance's exposure and business criticality to prioritize remediation efforts, which may involve coordination with vendor management if applicable.
- Identify affected Snipe-IT instances.
- Verify superuser access and custom CSS usage.
- Plan targeted remediation or access controls.