Users login

Create an account »


Users login

Home » Hacking News » DSA 181-1-New mod_ssl packages fix cross site scripting

DSA 181-1-New mod_ssl packages fix cross site scripting

by Nikola Strahija on October 23rd, 2002 Joe Orton discovered a cross site scripting problem in mod_ssl, an Apache module that adds Strong cryptography (i.e. HTTPS support) to the webserver. The module will return the server name unescaped in the response to an HTTP request on an SSL port.

Like the other recent Apache XSS bugs, this only affects servers using
a combination of "UseCanonicalName off" (default in the Debian package
of Apache) and wildcard DNS. This is very unlikely to happen, though.
Apache 2.0/mod_ssl is not vulnerable since it already escapes this

With this setting turned on, whenever Apache needs to construct a
self-referencing URL (a URL that refers back to the server the
response is coming from) it will use ServerName and Port to form a
"canonical" name. With this setting off, Apache will use the
hostname:port that the client supplied, when possible. This also
affects SERVER_NAME and SERVER_PORT in CGI scripts.

This problem has been fixed in version 2.8.9-2.1 for the current
stable distribution (woody), in version 2.4.10-1.3.9-1potato4 for the
old stable distribution (potato) and version 2.8.9-2.3 for the
unstable distribution (sid).

We recommend that you upgrade your libapache-mod-ssl package.

wget url
will fetch the file for you
dpkg -i file.deb
will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
will update the internal database
apt-get upgrade
will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.

Debian GNU/Linux 2.2 alias potato
- ---------------------------------

Source archives:
Size/MD5 checksum: 705 db7c60ce194c218b07b79968585a3065
Size/MD5 checksum: 20194 4c9fd112ca2a50ccbb21f76917012b88
Size/MD5 checksum: 695247 cb0f2e07065438396f0d5df403dd2c16

Architecture independent components:
Size/MD5 checksum: 278090 12bc6e09fb5ec76f4b37ed5c295470eb

Alpha architecture:
Size/MD5 checksum: 211734 c4d690aed7c335ceeb204dd913e36a39

ARM architecture:
Size/MD5 checksum: 203106 5847b3d90d092dfa6e806a6d9ee8fe90

Intel IA-32 architecture:
Size/MD5 checksum: 199266 6c89113c7cf5d0e82c436fe967c7b2f3

Motorola 680x0 architecture:
Size/MD5 checksum: 203612 0631d1e03e921c5a10ff2f4f6e0093f8

PowerPC architecture:
Size/MD5 checksum: 201282 98666b5d76aa20e5a5e1b5ee331a9b71

Sun Sparc architecture:
Size/MD5 checksum: 202150 9f9df58c9cf85683d65ddd92f2c8551e

Debian GNU/Linux 3.0 alias woody
- --------------------------------

Source archives:
Size/MD5 checksum: 678 8326399384a276295ed312f3314f8b2a
Size/MD5 checksum: 21672 3c6e87aad1113d19c04e2824e7fc6345
Size/MD5 checksum: 752613 aad438a4eaeeee29ae74483f7afe9db0

Architecture independent components:
Size/MD5 checksum: 287898 7c5f6a20d23ec97bd7d0f8ec5bd14172

Alpha architecture:
Size/MD5 checksum: 247800 0e6312d4ce0a5acd4f0291aff658f8ee

ARM architecture:
Size/MD5 checksum: 240094 9bf9083652950cc47033d4774de9737f

Intel IA-32 architecture:
Size/MD5 checksum: 238156 9756a3701103f8779c65455c968898c3

Intel IA-64 architecture:
Size/MD5 checksum: 268682 b00a8b74ecda50dea58ab8ab199f8f33

HP Precision architecture:
Size/MD5 checksum: 248092 102048ee2fa63c33d8076fc3a44b8305

Motorola 680x0 architecture:
Size/MD5 checksum: 240990 4a8853fadd213fca4057dee5897f3225

Big endian MIPS architecture:
Size/MD5 checksum: 236080 53a779235110dff18ecaf8806ac8b3f8

Little endian MIPS architecture:
Size/MD5 checksum: 236018 3e1ed4ecc89de7cd2acdf21138ddf8ed

PowerPC architecture:
Size/MD5 checksum: 241870 e6fd0818db87cd255ce49109a334f01c

IBM S/390 architecture:
Size/MD5 checksum: 241976 15ce16daec984b8414e544b67e970920

Sun Sparc architecture:
Size/MD5 checksum: 244152 b5fc2de1d7552c528262989c5983b63f

These files will probably be moved into the stable distribution on
its next revision.

- ---------------------------------------------------------------------------------
For apt-get: deb stable/updates main
For dpkg-ftp: dists/stable/updates/main
Mailing list: [email protected]
Package info: `apt-cache show ' and;

Newsletter signup

Signup to our monthly newsletter and stay in touch with IT news!

Free E-books

We've got ebooks! But they're not online. :( Please give us a few days to bring downloads back.


Have something to say or just wanna drop us a line? Please keep this in mind: to spam, we reply with spam.

Contact us »