SSRF restricted to HTTP/HTML on LINE Social Plugins (https://social-plugins.line.me/)
The social plugins service validated a user-supplied URL by checking DNS, but that check could be bypassed, allowing the server to fetch internal addresses. An attacker could therefore reach internal web services over HTTP, though only HTML pages were returned.
Originally disclosed on HackerOne
- Disclosed after 24 months
Summary by the program
LINE Social Plugins (https://social-plugins.line.me/) is a service that provides LINE users with content sharing on the web. This SSRF attack was caused by bypassing the DNS verification of the parameter value received to check the page information of shared content. Attacks were only possible with the HTTP protocol and internal web communication limited to HTML pages. By using this, it is possible to access the HTML page among web services provided by the http protocol from the internal server.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the DNS-based validation of the supplied URL could be bypassed, so the server fetched internal destinations anyway.
Impact
An attacker could access internal web services over HTTP, but only HTML pages were reachable and other protocols were not possible.
What the attacker needed
Ability to submit a URL to the plugin
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
The site takes a link you give it and fetches that page to show a preview. Normally it should only fetch public websites, but the check it used could be tricked, so it would also fetch pages on its own internal network. That lets an outsider peek at internal pages they should not reach.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.