exploit the possibilities

Apache Reverse Proxy Bypass

Apache Reverse Proxy Bypass
Posted Oct 6, 2011
Authored by Michael Jordon, Context Information Security Ltd, David Robinson | Site contextis.co.uk

Context discovered a security vulnerability which allows for Apache in reverse proxy mode to be used to access internal/DMZ systems due to a weakness in its handling of URLs being processed by mod_rewrite. Versions 1.3 and 2.x are affected.

tags | exploit
advisories | CVE-2011-3368
MD5 | 9addd7449e86f0c37284f65e8907acf8

Apache Reverse Proxy Bypass

Change Mirror Download
===============================ADVISORY==============================
Systems Affected: Apache httpd
Severity: High
Category: Proxy Bypass
Author: Context Information Security Ltd
Reported to vendor: 16th November 2011
Advisory Issued: 5th October 2011
Reference: CVE-2011-3368
===============================ADVISORY==============================

Description
-----------
Context discovered a security vulnerability which allows for Apache in reverse proxy mode to be used to access internal/DMZ systems due to a weakness in its handling of URLs being processed by mod_rewrite.

Analysis
--------
If the Apache configuration file is configured as follows (as previously recommended by Apache):

RewriteRule ^(.*) http://internalserver$1 [P]

And not with a trailing slash:

RewriteRule ^(.*) http://internalserver/$1 [P]

Then a request can be made to the proxy server to alter the URL using the user authentication URI syntax, such as:

GET @InternalNotAccessibleServer/console HTTP/1.0

Causing the proxy to rewrite the URL to:

http://internalserver@InternalNotAccessibleServer/console

And provide access to the internal server which is not externally accessible.

For an in-depth analysis of this security issue read Context’s blog at:
http://www.contextis.com/research/blog/reverseproxybypass/

Technologies Affected
---------------------

Apache httpd 1.3 all versions
Apache httpd 2.x all versions



Vendor Response
---------------
Apache have released a patch for this issue but recommend configuration files are reviewed.
Patch available from:
http://www.apache.org/dist/httpd/patches/apply_to_2.2.21/


Disclosure Timeline
-------------------
16th November 2011 – Vendor Notification
5th October 2011 – Patch Released by Apache


Credits
--------
Michael Jordon and David Robinson of Context Information Security Ltd


About Context Information Security
----------------------------------

Context Information Security is an independent security consultancy specialising in both technical security and information assurance services.

The company was founded in 1998. Its client base has grown steadily over the years, thanks in large part to personal recommendations from existing clients who value us as business partners. We believe our success is based on the value our clients place on our product-agnostic, holistic approach; the way we work closely with them to develop a tailored service; and to the independence, integrity and technical skills of our consultants.

The company’s client base now includes some of the most prestigious blue chip companies in the world, as well as government organisations.

The best security experts need to bring a broad portfolio of skills to the job, so Context has always sought to recruit staff with extensive business experience as well as technical expertise. Our aim is to provide effective and practical solutions, advice and support: when we report back to clients we always communicate our findings and recommendations in plain terms at a business level as well as in the form of an in-depth technical report.

Web: www.contextis.com
Email: disclosure@contextis.com




Login or Register to add favorites

File Archive:

October 2020

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2020 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close