Secunia CSI 5.0
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA9391

man-db Multiple Buffer Overflow Vulnerabilities
Secunia Advisory SA9391
Get alerted and manage the vulnerability life cycle
Free Trial

Release Date 2003-07-30
Last Update 2007-11-14
   
Popularity 7,509 views
Comments 0 comments

Criticality level Less criticalLess critical
Impact Privilege escalation
Where Local system
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Vendor Patch
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
   
Software:
man-db 2.x

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2003-0620 CVSS available in Customer Area
CVE-2003-0645 CVSS available in Customer Area
  

Description

Some vulnerabilities have been reported in man-db, which potentially can be exploited by malicious, local users to gain escalated privileges on a vulnerable system.

1) A boundary error in the handling of the "MANDATORY_MANPATH", "MANPATH_MAP", and "MANDB_MAP" values in the "~/.manpath" file can be exploited to cause a buffer overflow by including an overly long, specially crafted value.

2) A boundary error in the handling of paths can be exploited by supplying an overly, long specially crafted path as an argument to eg. the "-M" command line parameter.

3) A boundary error in the handling of ".So" macros included in man pages linking to other pages can be exploited to cause a buffer overflow by viewing a specially crafted man page.

4) A boundary error in the handling of the "MANPATH" and "PATH" environment variables can be exploited to cause a buffer overflow by inserting a long, specially crafted string to the vulnerable variables.

Successful exploitation of the vulnerabilities allows execution of arbitrary code with the privileges of the "man" user on systems where man is installed suid "man".

The vulnerabilities reportedly exist in versions 2.4.1 and 2.4.0. Prior versions may also be affected.


Solution
Update to version 2.4.2.

Provided and/or discovered by
Vade 79

Changelog
Further details available in Customer Area

Deep Links
Links available in Customer Area


Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: man-db Multiple Buffer Overflow Vulnerabilities
 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports & Papers
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2012 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability