Description
GTA San Andreas Multiplayer (SA-MP) server version 0.3.1.1 is vulnerable to a stack-based buffer overflow triggered by parsing a malformed server.cfg configuration file. The vulnerability allows local attackers to execute arbitrary code when the server binary (samp-server.exe) processes a crafted echo directive containing excessive input. The original 'sa-mp.com' site is defunct, but the community maintains mirrors and forks that may be vulnerable.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| SA-MP Team | San Andreas Multiplayer | 0.3.1.1 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
GTA SA-MP server.cfg Buffer Overflow
exploit/windows/fileformat/gta_samp
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/fileformat/gta_samp.rb exploit
- https://www.exploit-db.com/exploits/17893 exploit
- https://www.exploit-db.com/exploits/18038 exploit
- https://www.vulncheck.com/advisories/gta-sa-mp-buffer-overflow third-party-advisory