Bug 437320 (CVE-2008-0893)

Summary: CVE-2008-0893 Directory Server: unrestricted access to CGI scripts
Product: [Other] Security Response Reporter: Tomas Hoger <thoger>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ckannan, kseifried, rmeggins, security-response-team, shaines
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: source=redhat,reported=20080312,public=20080415,impact=moderate,cvss2=5.8/AV:A/AC:L/Au:N/C:P/I:P/A:P
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-29 21:20:05 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Attachments:
Description Flags
cvs commit log none

Description Tomas Hoger 2008-03-13 11:22:33 EDT
Richard Megginson discovered that Admin Server as used by Red Hat Directory
Server 8 and Fedora Directory Server does not properly restrict access to CGI
scripts.  This could allow unauthenticated user to get access to information or
perform tasks that should be restricted to authenticated administrative users.
Comment 8 Rich Megginson 2008-04-15 12:52:29 EDT
Created attachment 302493 [details]
cvs commit log

Resolves: bugs 437301 and 437320
Description: Directory Server: shell command injection in CGI replication
monitor
Directory Server: unrestricted access to CGI scripts
Fix Description: remove ScriptAlias for bin/admin/admin/bin - do not use that
directory for CGI URIs - use only protected URIs for CGIs requiring
authentication
Remove most CGI parameters from repl-monitor-cgi.pl - user must supply
replmon.conf in the admin server config directory instead of passing in this
pathname - repl-monitor-cgi.pl does not use system to call repl-monitor.pl, it
"includes" that script (using perl import).
Platforms tested: all supported platforms
Flag Day: no
Doc impact: release notes are available
Comment 9 Tomas Hoger 2008-04-15 16:51:04 EDT
Lifting embargo.
Comment 10 Fedora Update System 2008-04-21 20:01:57 EDT
fedora-ds-admin-1.1.4-1.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 11 Fedora Update System 2008-04-21 20:02:28 EDT
fedora-ds-admin-1.1.4-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 12 Rich Megginson 2008-06-09 11:43:23 EDT
Checking in adminserver/admserv/cfgstuff/admserv.conf.in;
/cvs/dirsec/adminserver/admserv/cfgstuff/admserv.conf.in,v  <--  admserv.conf.in
new revision: 1.11; previous revision: 1.10
done
Checking in adminserver/admserv/cgi-src40/repl-monitor-cgi.pl.in;
/cvs/dirsec/adminserver/admserv/cgi-src40/repl-monitor-cgi.pl.in,v  <-- 
repl-monitor-cgi.pl.in
new revision: 1.2; previous revision: 1.1
done
Comment 13 Kurt Seifried 2011-09-29 21:20:05 EDT
This issue has been addressed in following products:

  Red Hat Directory Server v8 EL4
  Red Hat Directory Server v8 EL5
  
Via RHSA-2008:0201 available at https://rhn.redhat.com/errata/RHSA-2008-0201.html