Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

bWAPP XXE Error

I am seeing a Error during XXE Attack simulation using bWAPP. I tried debugging by printing following:
   $xml = simplexml_load_string($body);

   // Debugging
   print_r($xml);

   $login = $xml->login;
   $secret = $xml->secret;
   echo "Login = " . $login;
   echo "Secret = " . $secret;

I am seeing an An Error Occured because login is having empty content since SYSTEM command is not executing as expected in bWAPP

ENTITY xxe SYSTEM
Quote:file:///etc/passwd

<reset><login>&xxe;</login><secret>blah</secret>/reset>

Any Inputs on this is much appreciated.

Thanks
Srikanth
The system command isn't supposed to display content. It should execute a command that gives content.

Have you tried "cat file:///etc/passwd"?


Possibly Related Threads...
Thread / Author Replies Views Last Post
by PrisoftApr 18, 2021 09:20 AM 0 113 Apr 18, 2021 09:20 AM
Last Post: Prisoft
by Gee4rceApr 12, 2021 07:18 PM 53 4,279 Apr 12, 2021 07:18 PM
Last Post: Gee4rce
by ImTryingNov 22, 2019 11:59 AM 0 119 Nov 22, 2019 11:59 AM
Last Post: ImTrying