Forum Discussion

ArthurDent's avatar
ArthurDent
Bronze III
1 month ago
Solved

Apache Header Tampering

Can someone point me to the right track? On this one, I found the hidden directory, used an X-Forwarded-For: to see into that directory where scanning for files showed a lot of 404s, with just a few 403 response codes. I've tried everything I can think of with variations on X-Original-URL:, X-Rewrite-URL:, and X-Forwarded-Uri:, but none of them get me able to see into any of the files/directories. I've even tried a few variations instead of X-Forwarded-For:, such as X-Client-IP: and a few others. I feel like I must be missing something. I didn't find any actual .php files in the hidden directory but the question seems to indicate that there are some in there.  I found what I think are other directories within that first hidden directory. 

  • ArthurDent's avatar
    ArthurDent
    29 days ago

    Finally solved it. The main fuzzing filelists in /usr/share/seclists/Discovery/Web-Content do not have a specific filename that is used to prevent web crawlers from entering directories. Once you identify that, everything else should be easy. 

2 Replies

  • SamDickison's avatar
    SamDickison
    Icon for Community Manager rankCommunity Manager

    Hopefully someone here knows. All I have is "try focussing on specific HTTP methods other than restricted ones like POST and GET"

    • ArthurDent's avatar
      ArthurDent
      Bronze III

      Finally solved it. The main fuzzing filelists in /usr/share/seclists/Discovery/Web-Content do not have a specific filename that is used to prevent web crawlers from entering directories. Once you identify that, everything else should be easy.