{"id":"CVE-2012-10058","aliases":["EUVD-2012-6602","GHSA-3542-93rq-2v6g"],"status":"published","title":"RabidHamster R4 Log Entry sprintf() Buffer Overflow","description":"RabidHamster R4 v1.25 contains a stack-based buffer overflow vulnerability due to unsafe use of sprintf() when logging malformed HTTP requests. A remote attacker can exploit this flaw by sending a specially crafted URI, resulting in arbitrary code execution under the context of the web server process.","severity":{"version":"4.0","score":10,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-07","score":0.02197,"percentile":0.82599,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-121"],"published":"2025-08-13T20:52:07Z","modified":"2026-06-16T23:38:45Z","exploits":[{"source":"metasploit","id":"exploit/windows/http/rabidhamster_r4_log","title":"RabidHamster R4 Log Entry sprintf() Buffer Overflow","type":"exploit","platform":"Windows","date":"2012-02-09","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/windows/http/rabidhamster_r4_log"}],"products":[{"vendor":"rabidhamster","product":"r4 embedded server"}],"references":[{"url":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/http/rabidhamster_r4_log.rb","tags":["exploit"]},{"url":"https://www.exploit-db.com/exploits/18929","tags":["exploit"]},{"url":"http://aluigi.altervista.org/adv/r4_1-adv.txt","tags":["technical-description","exploit"]},{"url":"https://advisories.checkpoint.com/defense/advisories/public/2013/cpai-07-jan405.html","tags":["third-party-advisory"]},{"url":"https://www.rabidhamster.org/R4/download.php","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/rabidhamster-r4-log-entry-buffer-overflow","tags":["third-party-advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-10058"},{"url":"https://github.com/advisories/GHSA-3542-93rq-2v6g"}],"sources":{"cve":[{"id":"CVE-2012-10058","title":"RabidHamster R4 Log Entry sprintf() Buffer Overflow","description":"RabidHamster R4 v1.25 contains a stack-based buffer overflow vulnerability due to unsafe use of sprintf() when logging malformed HTTP requests. A remote attacker can exploit this flaw by sending a specially crafted URI, resulting in arbitrary code execution under the context of the web server process.","status":"published","published":"2025-08-13T20:52:07.004Z","modified":"2026-04-07T14:02:51.047Z","cvss":[{"version":"4.0","score":10,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","level":"critical","assessor":"cna"}],"cwes":["CWE-121"],"updated_at":"2026-11-02T14:34:49.600255Z"}],"euvd":[{"id":"EUVD-2012-6602","description":"RabidHamster R4 v1.25 contains a stack-based buffer overflow vulnerability due to unsafe use of sprintf() when logging malformed HTTP requests. A remote attacker can exploit this flaw by sending a specially crafted URI, resulting in arbitrary code execution under the context of the web server process.","status":"published","published":"2025-08-13T20:52:07Z","modified":"2026-04-07T14:02:51Z","cvss":[{"version":"4.0","score":10,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","level":"critical"}],"updated_at":"2026-11-02T19:25:14.820353Z"}],"ghsa":[{"id":"GHSA-3542-93rq-2v6g","title":"RabidHamster R4 v1.25 contains a stack-based buffer overflow vulnerability due to unsafe use of...","description":"RabidHamster R4 v1.25 contains a stack-based buffer overflow vulnerability due to unsafe use of sprintf() when logging malformed HTTP requests. A remote attacker can exploit this flaw by sending a specially crafted URI, resulting in arbitrary code execution under the context of the web server process.","status":"published","published":"2025-08-13T21:30:30Z","modified":"2025-08-13T21:30:41Z","cvss":[{"version":"4.0","score":10,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/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","level":"critical"}],"cwes":["CWE-121"],"updated_at":"2026-11-02T15:03:16.715076Z"}],"nvd":[{"id":"CVE-2012-10058","description":"RabidHamster R4 v1.25 contains a stack-based buffer overflow vulnerability due to unsafe use of sprintf() when logging malformed HTTP requests. A remote attacker can exploit this flaw by sending a specially crafted URI, resulting in arbitrary code execution under the context of the web server process.","status":"published","published":"2025-08-13T21:15:30.29Z","modified":"2026-06-16T23:38:45.877Z","cvss":[{"version":"4.0","score":10,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/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","level":"critical","assessor":"secondary"}],"cwes":["CWE-121"],"updated_at":"2026-11-02T14:02:18.043773Z"}]}}
