Lucene search

K
exploitdbSebastian NeefEDB-ID:47688
HistoryOct 14, 2019 - 12:00 a.m.

Apache Httpd mod_proxy - Error Page Cross-Site Scripting

2019-10-1400:00:00
Sebastian Neef
www.exploit-db.com
1573

AI Score

7.4

Confidence

Low

EPSS

0.064

Percentile

93.8%

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>
```