Bug 454662 (CVE-2008-2932)

Summary: CVE-2008-2932 Directory Server: adminutil / CGI heap overflow
Product: [Other] Security Response Reporter: Tomas Hoger <thoger>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: ckannan, nhosoi, nkinder, rmeggins, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: source=redhat,reported=20080704,public=20080827,impact=important
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-30 02:41:58 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 454060    
Bug Blocks:    

Description Tomas Hoger 2008-07-09 11:32:43 EDT
adminutil is a library of common functions used by multiple CGI scripts shipped
with Red Hat / Fedora Directory Server.

It was discovered that adminutil HTTP unescaping functions did not properly
handle %-encoded inputs, resulting in a miscalculation of memory requirement
needed to hold processed string with special characters replaced with HTML
entities.  This resulted in a heap-based overflow.  An attacker with access to
certain Directory Server's CGI scripts could use this flaw to crash or possibly
execute arbitrary code with the privileges of the Directory Server
Administration Server (unprivileged user, nobody by default, in affected
Directory Server versions).

Problem was introduced by a bug fix included in adminutil 1.1.6, affected
packages were only shipped in Fedora.

Red Hat Directory Server 7.1 and 8 did not contain vulnerable code.
Comment 1 Tomas Hoger 2008-08-27 16:20:02 EDT
Lifting embargo.
Comment 3 Fedora Update System 2008-09-10 02:49:58 EDT
adminutil-1.1.7-1.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 4 Fedora Update System 2008-09-10 03:18:10 EDT
adminutil-1.1.7-1.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 5 Tomas Hoger 2008-09-30 02:40:55 EDT
Patch, that introduced this problem, was a fix for XSS issues tracked via bug
#454621.  The patch was now corrected.
Comment 6 Red Hat Product Security 2008-09-30 02:41:58 EDT
This issue was addressed in: