I have been testing my phpPHP web application for RFI vulnerabilities,While. While performing scan iI was able perform RFI in my web application.
Scenario :
In my web application RFI works only when the user's session was present,i. I need to demonstrate the RFI to developers.
Sample demonstration :
GET /cdn-cgi/pe/bag2?r[]=https://portswigger.net/f517a2bc19bdff66d7c64e8a7ad2f043.txt HTTP/1.1
Host: xxexample.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
PE-Token: 346645c4fd373fa7f321ec5d3ecf486b4e122cc7-1457413695-1800
Referer: https://xxexample.com/success
Cookie: __cfduid=d3e9d6b0485c45636f90caa652f60437d1456979567;
I just placed a vulnerable text and able to retrieve the response over the web application
InThe response which it got reflected contains the uploaded file output.
Problem :
Now through the above problem ivulnerability I was able to prove the rfiRFI was present at webapplicationin the web application,But but the problem is my developers are asking for the attack scenario which will help them to evaluate my bug.
What i tried :
I tried to exploit the web application with fimap through this we were able to demonstrate and exploit the webserver.
butHowever, the main problem which iI faced during the test was i cantI can't exploit if the user's session wasuser is not present in the applicationauthenticated.
Is it there any way toHow else can I demonstrate with the user session was present with a RFI vulnerablity ?
or anyother method to demonstrate RFIvulnerability in my web application?