Exploit database

Vulnerability

CVE-2011-10014

GTA SA-MP server.cfg Buffer Overflow

Vulnerability details

Score
8.7
Severity
high

CVSS 4.0 · VulnCheck

Vector string

CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

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.

CVE Program

Exploit source choices

3 sources
GTA SA-MP server.cfg Buffer Overflow
MSF-windows--fileformat--gta_sampMetasploitWindows / remote

This module exploits a stack-based buffer overflow in GTA SA-MP Server. This buffer overflow occurs when the application attempts to open a malformed server.cfg file. To exploit this vulnerability, an attacker must send the victim a server.cfg file and have them run samp-server.exe.

2011-09-18gta_samp.rb