CVE-2012-10058
published 2025-08-13CVE-2012-10058: RabidHamster R4 v1.25 contains a stack-based buffer overflow vulnerability due to unsafe use of sprintf() when logging malformed HTTP requests. A remote…
PriorityP269critical10CVSS 4.0
AVNACLATNPRNUINVCHVIHVAHSCHSIHSAHEXCRXIRXARXMAVXMACXMATXMPRXMUIXMVCXMVIXMVAXMSCXMSIXMSAXSXAUXRXVXREXUX
EXPLOIT
EPSS
1.32%
67.2th percentile
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.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| rabidhamster | r4_embedded_server | — | — |
Detection & IOCsextracted from sources · hover to see the quote
- →Detect malformed/oversized HTTP request URIs sent to RabidHamster R4 web server; the overflow is triggered during log generation via sprintf() when processing a specially crafted URI. ↗
- →Monitor for exploitation of the RabidHamster R4 web server process spawning unexpected child processes or executing shellcode, as successful exploitation runs arbitrary code under the web server process context. ↗
- ·The vulnerability is only present in RabidHamster R4 version 1.25; verify target version before applying detections. ↗
- ·The Metasploit module targets Windows HTTP and exploits the log entry sprintf() code path specifically; detections should be scoped to Windows hosts running the R4 web server. ↗
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
No detection rules found.
No writeups or analysis indexed.
http://aluigi.altervista.org/adv/r4_1-adv.txthttps://advisories.checkpoint.com/defense/advisories/public/2013/cpai-07-jan405.htmlhttps://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/http/rabidhamster_r4_log.rbhttps://www.exploit-db.com/exploits/18929https://www.rabidhamster.org/R4/download.phphttps://www.vulncheck.com/advisories/rabidhamster-r4-log-entry-buffer-overflowhttps://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/http/rabidhamster_r4_log.rb
2025-08-13
Published