CVE-2023-36474
Projectdiscovery Interactsh vulnerability
Interactsh is an open-source tool for detecting out-of-band interactions. Domains configured with interactsh server prior to version 1.0.0 were vulnerable to subdomain takeover for a specific subdomain, i.e `app.` Interactsh server used to create cname entries for `app` pointing to `projectdiscovery.github.io` as default, which intended to used for hosting interactsh web client using GitHub pages. This is a security issue with a self-hosted interactsh server in which the user may not have configured a web client but still have a CNAME entry pointing to GitHub pages, making them vulnerable to subdomain takeover. This allows a threat actor to host / run arbitrary client side code (cross-site scripting) in a user's browser when browsing the vulnerable subdomain. Version 1.0.0 fixes this issue by making CNAME optional, rather than default.
Affected products
Interactsh. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Projectdiscovery Interactsh runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/projectdiscovery/interactsh/security/advisories/GHSA-m36x-mgfh-8g78 · Vendor Advisory
- github.com/projectdiscovery/interactsh/pull/155 · Patch
- github.com/projectdiscovery/interactsh/issues/136
- labs.detectify.com/2014/10/21/hostile-subdomain-takeover-using-herokugithubdesk-more/
- nvd.nist.gov/vuln/detail/CVE-2023-36474
- cve.org/CVERecord?id=CVE-2023-36474
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.