GeoVision Inc. GV-VMS V20.0.2
GeoVision GV-VMS V20 WebCam Server Login stack overflow vulnerability
Edge device · Camera / IoTknown edge product: GeoVision Inc. GV-VMS V20.0.2 GeoVision GV-VMS V20 WebCam (high confidence)
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- 20.0.2
Fixed in 20.0.2.10, 20.1.0.0
Mitigation
GeoVision GV-VMS version V20.1.0 has patched the reported vulnerability. User is recommended to download the update from GeoVision's offical website (https://www.geovision.com.tw/download/product/GV-VMS%20V20) or contact GeoVision Support team For User currently running V20.0.2 may also visit the following link to download the V20.0.2.10 patch file that fixed the vulnerability. https://php.gvdip.com/phpbb3/viewtopic.php?t=3326
References
- Vendor advisory geovision.com.tw/cyber_security.php
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.