Apache prior 1.3.32 htpasswd buffer overflow 2.0
 
Plugin ID246
Plugin nameApache prior 1.3.32 htpasswd buffer overflow
Plugin filenameApache prior 1.3.32 htpasswd buffer overflow.plugin
Plugin filesize4422 bytes
Plugin familyHTTP
Plugin created nameMarc Ruef
Plugin created emailmarc dot ruef at computec dot ch
Plugin created webhttp://www.computec.ch
Plugin created companycomputec.ch
Plugin created date2004/09/20
Plugin updated nameMarc Ruef
Plugin updated emailmarc dot ruef at computec dot ch
Plugin updated webhttp://www.computec.ch
Plugin updated companycomputec.ch
Plugin updated date2004/11/14
Plugin version2.0
Plugin changelogCorrected a mistake in the plugin_created_date and added the SecuriTeam.com URL in version 1.1. Corrected the plugin structure and added the accuracy values in 1.2. Improved the pattern matching and introduced the plugin changelog in 2.0
Plugin protocoltcp
Plugin port80
Plugin procedure detectionopen|send HEAD / HTTP/1.0\n\n|sleep|close|pattern_exists HTTP/1.[0-1] ### *Server: Apache/0.* OR HTTP/1.[0-1] ### *Server: Apache/1.[0-2].* OR HTTP/1.[0-1] ### *Server: Apache/1.3.[0-2]* OR HTTP/1.[0-1] ### *Server: Apache/1.3.3[0-1]*
Plugin detection accuracy80
Plugin commentThis is not the same vulnerability as like in the .htaccess files.
Bug published nameLuiz Fernando Camargo
Bug published emailfoxtrot at flowsecurity dot org
Bug published webhttp://www.flowsecurity.org
Bug published companyflowsecurity.org
Bug published date2004/09/16
Bug advisoryhttp://archives.neohapsis.com/archives/fulldisclosure/2004-09/0547.html
Bug produced nameApache Software Foundation
Bug produced emailapache at apache dot org
Bug produced webhttp://httpd.apache.org
Bug affectedApache prior 1.3.32
Bug not affectedApache 1.3.32 and newer or other solutions
Bug vulnerability classBuffer Overflow
Bug descriptionThe remote host is running an Apache web server. It has been reported that in Apache web server prior 1.3.32 fails in some cases to handle htpasswd runs. Exploitation of this buffer overflow conditions may result in the execution of arbitrary code.
Bug solutionIf the web server is not used it should be de-installed or de-activated. Install the newest patch or bugfix to solve the problem or upgrade to the latest software version which is not vulnerable anymore. To make it harder to find the server the daemon could be configured to listen at another port (e.g. 8081). Alternation of the application banner can confuse an attacker and let him determine the wrong software. Additionally limit unwanted connections and communications with firewalling.
Bug fixing timeApprox. 2 hours
Bug exploit availabilityYes
Bug exploit urlhttp://archives.neohapsis.com/archives/fulldisclosure/2004-09/0547.html
Bug remoteNo
Bug localYes
Bug severityMedium
Bug popularity4
Bug simplicity5
Bug impact9
Bug risk5
Bug Nessus riskHigh
Bug ISS Scanner ratingHigh Risk
Bug check toolsNessus is able to do the same check. A proof-of-concept exploit has been published on the Full-Disclosure posting and SecuriTeam.com
Source SecuriTeam URLhttp://www.securiteam.com/unixfocus/5DP0J2KE0A.html
Source Nessus ID14771
Source ISS X-Force ID17413
Source LiteratureHacking Exposed: Network Security Secrets & Solutions, Stuart McClure, Joel Scambray and George Kurtz, February 25, 2003, 4th Edition, McGraw-Hill Osborne Media, ISBN 0072227427
Source Misc.http://xforce.iss.net/xforce/xfdb/17413

This file was generated by the Attack Tool Kit (ATK), the open-sourced security scanner and exploiting framework.