CVE-2002-0658

OSSP mm <1.2.0 - Privilege Escalation

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2002-0658. PoCs published by Sebastian Krahmer.

AI-analyzed exploit summary This exploit leverages a race condition in the MM Shared Memory library (libmm) to escalate privileges from the Apache user to root. It involves creating a symlink to /etc/ld.so.preload, injecting code into a CGI process via ptrace, and executing a SUID binary to gain root access.

Description

OSSP mm library (libmm) before 1.2.0 allows the local Apache user to gain privileges via temporary files, possibly via a symbolic link attack.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Sebastian Krahmer · clocallinux
https://www.exploit-db.com/exploits/21667

This exploit leverages a race condition in the MM Shared Memory library (libmm) to escalate privileges from the Apache user to root. It involves creating a symlink to /etc/ld.so.preload, injecting code into a CGI process via ptrace, and executing a SUID binary to gain root access.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Complex
Reliability
Racy
Target: MM Shared Memory library (libmm) with Apache linked against it
No auth needed
Prerequisites: Local shell access as the Apache user · Apache linked against vulnerable libmm · Ability to stop Apache processes · Root must restart Apache
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (14)

Core 14
Core References
Various Sources vendor-advisory x_refsource_freebsd
ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SN-02:05.asc
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2003-158.html
Third Party Advisory vdb-entry x_refsource_xf
http://www.iss.net/security_center/static/9719.php
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2002-163.html
Various Sources vendor-advisory x_refsource_caldera
ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2002-032.0.txt
Patch, Vendor Advisory vendor-advisory x_refsource_mandrake
http://www.linux-mandrake.com/en/security/2002/MDKSA-2002-045.php
Third Party Advisory, VDB Entry vendor-advisory x_refsource_hp
http://online.securityfocus.com/advisories/4392
Vendor Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2002-164.html
Vendor Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2002-156.html
Vendor Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2002-154.html
Vendor Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2002-153.html
Vendor Advisory vendor-advisory x_refsource_suse
http://www.novell.com/linux/security/advisories/2002_028_mod_ssl.html
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2002/dsa-137
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/5352

Scores

EPSS 0.0096
EPSS Percentile 56.8%

Details

Status published
Products (17)
ossp/mm 1.0.0
ossp/mm 1.0.1
ossp/mm 1.0.2
ossp/mm 1.0.3
ossp/mm 1.0.4
ossp/mm 1.0.5
ossp/mm 1.0.6
ossp/mm 1.0.7
ossp/mm 1.0.8
ossp/mm 1.0.9
... and 7 more
Published Aug 12, 2002
Tracked Since Feb 18, 2026