header-logo
Suggest Exploit
vendor:
pmake
by:
IhaQueR@IRCnet
7.5
CVSS
HIGH
Format String Vulnerability
134
CWE
Product Name: pmake
Affected Version From: pmake <= 2.1.33
Affected Version To: pmake <= 2.1.33
Patch Exists: NO
Related CWE: CVE-2001-1154
CPE: a:pmake:pmake:2.1.33
Metasploit:
Other Scripts:
Platforms Tested: Unix
2001

Parallel Make (pmake) Local Root Exploit

The pmake program, specifically the Makefile executed by pmake, allows the user to set certain user-defined variables. One such variable is the .SHELL variable, where a format string can be supplied in the check= field. By exploiting this vulnerability, an attacker can write to an arbitrary memory address of the program, potentially overwriting the return address and executing arbitrary code with root privileges.

Mitigation:

Update to a patched version of pmake or use an alternative make program.
Source

Exploit-DB raw data: