BMON Local Privilege Escalation Vulnerability

BID:11457

Info

BMON Local Privilege Escalation Vulnerability

Bugtraq ID: 11457
Class: Failure to Handle Exceptional Conditions
CVE:
Remote: No
Local: Yes
Published: Oct 18 2004 12:00AM
Updated: Oct 18 2004 12:00AM
Credit: Jon Nistor reported this vulnerability to FreeBSD.
Vulnerable: Thomas Graf bmon 1.2.1
FreeBSD FreeBSD 5.2.1 -RELEASE
FreeBSD FreeBSD 5.2
FreeBSD FreeBSD 5.1
FreeBSD FreeBSD 4.10
FreeBSD FreeBSD 4.9
FreeBSD FreeBSD 4.8
Not Vulnerable: FreeBSD FreeBSD 5.3

Discussion

BMON Local Privilege Escalation Vulnerability

It is reported that bmon is susceptible to a privilege escalation vulnerability if installed with setuid permissions.

This vulnerability allows local attackers to execute arbitrary code with the privileges of the bmon package. It is reported that the FreeBSD port system installs bmon with setuid superuser privileges, allowing local attackers to execute arbitrary code with superuser privileges.

This vulnerability is reported to exist in bmon version 1.2.1 on any platform that installs it with setuid privileges. Other versions may also be affected.

For FreeBSD, versions prior to 1.2.1_2 are reported susceptible. Other platforms that install bmon with setuid privileges are unknown at this time.

Exploit / POC

BMON Local Privilege Escalation Vulnerability

An example script sufficient to exploit this vulnerability was provided by "Idan Nahoum" <[email protected]>:

Solution / Fix

BMON Local Privilege Escalation Vulnerability

Solution:
FreeBSD has updated their port system to remove the setuid bit from the bmon package. Users of affected packages should upgrade to version 1.2.1_2 or greater of the port.

Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.

References

BMON Local Privilege Escalation Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report