S4E just found a high-severity finding from top 10 tcp port service scan
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
critical·Product Based Web Vulnerabilities·Updated Oct 8, 2024

CVE-2023-39007 Scanner

CVE-2023-39007 Scanner - Cross-Site Scripting (XSS) vulnerability in OPNsense

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsdomain, ipv4, subdomain
CostFree
2.8k
Times Used
continuous scan runs
5.8k
Continuously Checked
assets under CS
1
Vulnerabilities Found
confirmed findings
References
CVECVE-2023-39007
9.6
CVSS

/ui/cron/item/open in the Cron component of OPNsense Community Edition before 23.7 and Business Edition before 23.4.2 allows XSS via openAction in app/controllers/OPNsense/Cron/ItemController.php.

Attack Vector
-
Privileges Req.
-
User Interaction
-
Affected
n/aby n/a
n/a
Updated Aug 22, 2026View on NVD →
Detail

OPNsense is a highly regarded open-source firewall and routing platform used by individuals and organizations to secure network infrastructure. Deployed universally across businesses and communities, it ensures robust network defense and traffic management. The tool is particularly valued for its user-friendly interface, allowing administrators of all levels to configure and maintain complex network architectures easily. OPNsense serves a wide range of purposes, from protecting small home networks to managing larger enterprise environments. Its expandability through plugins further boosts its flexibility in delivering tailored solutions. This adaptability and reliability make OPNsense a cornerstone in network security management.

Cross-Site Scripting (XSS) is a security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. In this context, OPNsense versions are affected by XSS, particularly within their Cron component, allowing malicious payloads to be executed. This injection typically occurs when a web application includes untrusted data on subsequent pages without proper validation or escaping. The consequence is that users visiting the manipulated web page may inadvertently execute attacker-controlled scripts. These scripts can access cookies, session tokens, or other sensitive information, leading to identity theft or information disclosure. The pervasive nature of XSS makes it a critical risk in web-facing applications.

The vulnerability in OPNsense involves the endpoint '/ui/cron/item/open' in their Cron feature. Malicious actors can exploit this by crafting scripts that leverage the 'openAction' in 'app/controllers/OPNsense/Cron/ItemController.php'. The script injection can occur through an unsanitized parameter leading to unexpected execution. This oversight allows attackers to prompt a Cross-Site Scripting attack which, if further exploited, can escalate into Remote Code Execution (RCE). The use of parameters and their response handling also plays a role, potentially exposing the application to further security risks. Having deep access to certain UI pathways means the attack may involve gaining significant unauthorized control over administrator sessions.

The exploitation of this XSS vulnerability can lead to severe consequences, including unauthorized access and data breaches. Malicious scripts might seize valuable session data, compromising personal or administrative accounts. Moreover, persistent XSS can affect all users interacting with the vulnerable platform, leading to widespread data leaks. If escalated to RCE, attackers could potentially execute arbitrary code on the server, leading to full control over the affected system. This could include, but is not limited to, deploying malware, changing configurations, or stealing sensitive data, severely damaging any organization relying on the software for secure operations.

REFERENCES

Solution Advice
  • Update to the latest OPNsense Community Edition version 23.7 or Business Edition version 23.4.2 to patch the vulnerability.
  • Implement Web Application Firewalls (WAF) to monitor and block malicious requests leveraging XSS.
  • Ensure rigorous input validation and output encoding to prevent script injection in vulnerable endpoints.
  • Conduct regular security assessments and penetration testing to identify and mitigate similar threats promptly.
  • Educate users about recognizing phishing attempts that exploit XSS vulnerabilities.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.

CVE-2023-39007 Scanner - Cross-Site Scripting (XSS) vulnerability in OPNsense | S4E