Sep 10, 2019 10:46 AM
(This post was last modified: Sep 10, 2019 10:59 AM by srikanthr.)
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
<reset><login>&xxe;</login><secret>blah</secret>/reset>
Any Inputs on this is much appreciated.
Thanks
Srikanth
$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

