SecurityReason.com - Our Reason is

Security

Register | Forget Password | Login
Search :
SecurityReason
WLB
Services
RSS
Corporate
Note

If you have found a vulnerability, please send to our SecurityAlert Database :
secalert()securityreason()com

Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com

Home arrow SecurityAlert Database

Arrow  Topic :

Apache2 CSRF, XSS, Memory Corruption and Denial of Service Vulnerability


Arrow  SecurityAlert : 3523
Arrow  CVE : CVE-2007-6420
Arrow  CVE : CVE-2007-6421
Arrow  CVE : CVE-2007-6422
Arrow  CVE : CVE-2007-6423
Arrow  SecurityRisk : Low  Security Risk Low  (About)
Arrow  Remote Exploit : Yes
Arrow  Local Exploit : Yes
Arrow  Exploit Given : No
Arrow  Credit : sp3x
Arrow  Published : 09.01.2008

Arrow  Affected Software : Apache 2.2.x (mod_proxy_balancer)



Arrow  Advisory Text :  

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[Apache2 CSRF, XSS, Memory Corruption and Denial of Service Vulnerability
]

Author: sp3x

Date:
- - Written: 06.12.2007
- - Public: 09.01.2008

SecurityReason Research
SecurityAlert Id: 48

CVE: CVE-2007-6420
CVE-2007-6421
CVE-2007-6422
CVE-2007-6423

SecurityRisk: Low

Affected Software: Apache 2.2.x (mod_proxy_balancer)
Advisory URL:
http://securityreason.com/achievement_securityalert/48
Vendor: http://httpd.apache.org

- --- 0.Description ---

The Apache HTTP Server Project is an effort to develop and maintain an
open-source HTTP server for modern operating systems including UNIX and
Windows NT. The goal of this project is to provide a secure, efficient and
extensible server that provides HTTP services in sync with the current
HTTP standards.

Apache has been the most popular web server on the Internet since April
1996. The November 2005 Netcraft Web Server Survey found that more than 70%
of the web sites on the Internet are using Apache, thus making it more
widely used than all other web servers combined.

mod_proxy_balancer :
http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html

- From apache site : "Balancer manager enables dynamic update of balancer
members. You can use balancer manager to change the balance factor or a
particular member, or put it in the off line mode"

balancer-manager is an administrative interface which should only be
accessible to trusted users. Due to the fact the SecurityRisk is Low.

- --- 1. Apache2 Cross-Site Request Forgery (CSRF) Vulnerability ---

During the fact that all actions are performed by GET method there exist
"CSRF" .

The balancer-manager should use POST for requests which have side-effects
which would significantly mitigate the "CSRF" issue.

- --- 2. Apache2 HTML Injection (XSS) Vulnerability ---

- --- First XSS ---

The HTML Injection (XSS) vulnerability exist in "mod_proxy_balancer.c" .

By Enabling Balancer Manager Support we can trigger XSS vulnerability .

Input passed to the :
"ss" - called ""StickySession Identifier",
"wr" - called "Route",
"rr" - called "Route Redirect",
parametrs in balancer-manager are not properly sanitised leading to execute
arbitrary HTML and script code in a victim's browser.

- --- Second XSS ---

Input passed in the URL to "balancer-mamanger" is not properly sanitised
leading to execute arbitrary HTML and script code in a victim's browser.


- --- 3. Apache2 Denial of Service Vulnerability ---

The Denial of Service is caused due to an error in the "balancer_handler()"
function that manages the loadfactors and member status. When attacker
input invalid "bb" variable while editing worker settings leads to "Denial
of Service Vulnerability".

- --- 4. Apache2 Memory Corruption ---

The Memory corruption is caused due to an error in the "mod_proxy_balancer"
when attacker input in the URL 7390 or 7506 or 7622 "A" chars.

- --- 4. Exploit ---

SecurityReason is not going to release a exploit to the general public.
Exploit was provided and tested for Apache Team .

- --- 5. How to fix ---

Update to Apache 2.2.7-dev

http://httpd.apache.org/security/vulnerabilities_22.html

- --- 6. References ---

CSRF : http://www.owasp.org/index.php/Testing_for_CSRF

- --- 7. Greets ---

For: Maksymilian Arciemowicz ( cXIb8O3 ), Infospec, pi3, p_e_a, mpp

- --- 8. Contact ---

Author: sp3x
Email: sp3x [at] securityreason [dot] com
GPG: http://securityreason.com/key/sp3x.gpg
http://securityreason.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.7 (GNU/Linux)

iD8DBQFHg/7ChaZ93YsJSwQRAsGJAJ0TKanboYmEmVCf8gRgw2bcc+i/ZACeMfMP
iPvk+51GFJLRvR/Sk9+n/30=
=8xnm
-----END PGP SIGNATURE-----




Arrow  Feedback :

If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
Alert

Multiple Vendors libc/gdtoa printf(3) Array Overrun

Security Risk High- 2009-05-30

SecurityReason realised new advisory about vulnerabilities libc/gdtoa...

Apache RSS Apache Alert

» Apache Tomcat
   RequestDispatcher
   directory traversal
   vulnerability

» Apache mod_dav / svn
   Remote Denial of Service
   Exploit

» Apache Tomcat Information
   disclosure

» Apache Tomcat User
   enumeration vulnerability
   with FORM authentication

PHP RSS PHP Alert

» PHP 5.2.9 curl safe_mode
   & open_basedir bypass

» PHP 5.2.6 SAPI
   php_getuid() overload

» PHP
   ZipArchive::extractTo()
   Directory Traversal
   Vulnerability

» PHP 5.2.6 dba_replace()
   destroying file

Copyright © SecurityReason.com. All Rights Reserved.