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

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
SHA-256 | cc7c3ff195e475a2b7ec8ea66d98deaebf0cf9dedd7ae209991e3d3c5d4274d8

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:

September 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close