Full read SSRF via Lark Docs `import as docs` feature
The 'import as docs' feature in Lark Docs allowed a user to make the server fetch an arbitrary URL, which could be used to reach internal network services. The report does not demonstrate actual access to internal services, only the potential.
Originally disclosed on HackerOne
- Triaged in 7 days
- Fixed in 9 days
- Paid in 8 days
- Disclosed after 2 months
Summary by the program
A SSRF (server side request forgery) vulnerability was found in the LarkDocs using the "import as docs" feature, which could have potentially been used to access services running on the internal network. We thank @sirleeroyjenkins for reporting this to our team and confirming the resolution.
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 import feature accepted a user-supplied URL and fetched it without restricting which hosts or address ranges could be requested.
Impact
An attacker could potentially use the server to reach services on the internal network, though the text does not show that any internal service was actually accessed.
What the attacker needed
Access to Lark Docs; use of the import as docs feature
The fix
The issue was fixed, as the program states the resolution was confirmed.
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.
Server-side request forgery (SSRF) is when a website can be tricked into fetching a web address chosen by an attacker. Here, the 'import as docs' feature fetched a URL supplied by the user, so an attacker could try to make the server visit internal addresses that outsiders cannot normally 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.