Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Exploits-HackingTools
[Top] [All Lists]

[UNIX] Mathopd Insecure Dump File Creation

Subject: [UNIX] Mathopd Insecure Dump File Creation
Date: 28 Mar 2005 10:22:46 +0200
The following security advisory is sent to the securiteam mailing list, and can 
be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

The SecuriTeam alerts list - Free, Accurate, Independent.

Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html 

- - - - - - - - -



  Mathopd Insecure Dump File Creation
------------------------------------------------------------------------


SUMMARY

" <http://www.mathopd.org/> Mathopd is a very small, yet very fast HTTP 
server for UN*X systems. Mathopd supports useful features of HTTP/1.1, 
such as persistent connections, partial responses and pipelining. It does 
not support things like content negotiation. The latest version of the 
software (1.5) also supports CGI/1.1".

Recently discovered vulnerability in Mathopd, can be exploited by 
malicious local users to corrupt the contents of arbitrary files on a 
vulnerable system.

DETAILS

Vulnerable Systems:
 * Mathopd version 1.5p4
 * Mathopd version 1.6b5

Immune Systems:
 * Mathopd version 1.5p5
 * Mathopd version 1.6b6 Beta

The vulnerability is caused due to the "internal_dump()" function creating 
dump files insecurely when a SIGWINCH signal is caught. This can be 
exploited via symlink attacks to append dump data to arbitrary files on 
the system with the privileges of the user running Mathopd.

Successful exploitation requires that Mathopd is running with the "-n" 
command line option, and the user running Mathopd resizes the terminal 
window.


ADDITIONAL INFORMATION

The information has been provided by  <mailto:michiel@boland.org> Michiel 
Boland.
The original article can be found at:  
<http://www.mail-archive.com/mathopd%40mathopd.org/msg00272.html> 
http://www.mail-archive.com/mathopd%40mathopd.org/msg00272.html



======================================== 


This bulletin is sent to members of the SecuriTeam mailing list. 
To unsubscribe from the list, send mail with an empty subject line and body to: 
list-unsubscribe@securiteam.com 
In order to subscribe to the mailing list, simply forward this email to: 
list-subscribe@securiteam.com 


==================== 
==================== 

DISCLAIMER: 
The information in this bulletin is provided "AS IS" without warranty of any 
kind. 
In no event shall we be liable for any damages whatsoever including direct, 
indirect, incidental, consequential, loss of business profits or special 
damages. 




<Prev in Thread] Current Thread [Next in Thread>
  • [UNIX] Mathopd Insecure Dump File Creation, SecuriTeam <=