Bug 437301 - (CVE-2008-0892) CVE-2008-0892 Director Server: shell command injection in CGI replication monitor
CVE-2008-0892 Director Server: shell command injection in CGI replication mon...
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
source=redhat,impact=important,report...
: Security
Depends On: 442679
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-13 10:17 EDT by Tomas Hoger
Modified: 2015-08-22 12:54 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-08-22 12:54:35 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
cvs commit log - 8.0 changes (1.78 KB, text/plain)
2008-04-15 12:53 EDT, Rich Megginson
no flags Details

  None (edit)
Description Tomas Hoger 2008-03-13 10:17:05 EDT
Richard Megginson discovered a shell command injection flaw in the Admin
Server's replication monitor CGI perl script repl-monitor-cgi.pl.  Script
parameters were not properly sanitized prior to being passed to system()
function.  An attacker able to access replication monitor CGI script could
execute arbitrary shell command with privileges of Admin Server.

Affected versions:
- Red Hat Directory Server 7.1
  - Admin Server runs with root privileges
- Red Hat Directory Server 8
  - Admin Server runs under an unprivileged user, following users by default:
    - nobody on Red Hat Enterprise Linux and Solaris
    - daemon on HP-UX
- Fedora Directory Server
  - Admin Server runs under an unprivileged user, nobody by default
Comment 3 Mark J. Cox (Product Security) 2008-03-14 07:29:37 EDT
For RHDS7.1:
cvss2=7.7/AV:A/AC:L/Au:S/C:C/I:C/A:C

For RHDS8 and FDS8 the CVSSv2 score is lowered to 
cvss2=5.2/AV:A/AC:L/Au:S/C:P/I:P/A:P
Comment 11 Rich Megginson 2008-04-15 12:53:03 EDT
Created attachment 302494 [details]
cvs commit log - 8.0 changes

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 12 Tomas Hoger 2008-04-15 16:50:54 EDT
Lifting embargo.
Comment 14 Fedora Update System 2008-04-21 20:01:54 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 15 Fedora Update System 2008-04-21 20:02:26 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 16 Rich Megginson 2008-06-09 11:44:42 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

Note You need to log in before you can comment on or make changes to this bug.