MOD Supply Chain VDP · Report #2733190
Overwrite any file of the web server
Validstatus
criticalseverity
55upvotes
5 Nov 2024disclosed
How it was found
Summary:
With this vulnerability an attacker can override all the files from the server due to a vulnerable module used to generate █████████s
Steps To Reproduce:
- Go to ██████████ to check the actual payload (Save ███████ to:) to do it (███████goedix.php -> This will create a file in /██████_h1goedix.php but this can be edited to index.php and replacing any php file in the server or outside the web server) █████
- Go to ███████ to start the job that creates the ███ in the target filepath
- Go to https://██████████_h1goedix.php or the targeted file and check that it returns an empty page! ██████████
As note, if you want to do any action in /█████████ you must modify with burp the request from
/█████████/index.phpto/██████████, otherwises it won't work!
Impact
An attacker can replace all the server files with empty pages! (I was finding to achieve RCE but I was not able to do it (I did tests injecting php code into the php files but it returns 500 internal server error)