ntop Remote Format String Vulnerability

BID:4225

Info

ntop Remote Format String Vulnerability

Bugtraq ID: 4225
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: Feb 28 2002 12:00AM
Updated: Feb 28 2002 12:00AM
Credit: Discovered by Peter Suschlik ([email protected]). Security implications published by hologram <[email protected]>.
Vulnerable: Luca Deri ntop 2.0
Not Vulnerable:

Discussion

ntop Remote Format String Vulnerability

ntop is a tool designed to give an overview of network performance and usage, similar to the Unix top command. ntop was designed for Linux, BSD and Unix based systems, although it has also been ported to Windows.

A vulnerability has been reported in some versions of ntop. User supplied data is used in an unsafe manner in printf and syslog calls, leading to a format string vulnerability. Exploitation of this vulnerability may result in the execution of arbitrary code. If ntop is executed with the -w flag, it may be possible to remotely exploit this vulnerability through a malicious HTTP request.

It was also reported that this condition was produced using Netscape with the following web request:

http://target:port/`ls`

This occurred because Netscape was URL encoding the request, which caused the request to be interpreted as a format string by NTop. For example, `ls` is converted to %60ls%60.

Other versions of ntop may share this vulnerability. This has not been confirmed.

Exploit / POC

ntop Remote Format String Vulnerability

Currently the SecurityFocus staff are not aware of any exploits 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]>.

Solution / Fix

ntop Remote Format String Vulnerability

Solution:
This issue is fixed in snapshot released of ntop dated later than March 1, 2002. Snapshots are available at:

http://snapshot.ntop.org


Luca Deri ntop 2.0

References

ntop Remote Format String 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