golang / vulndb

[mirror] The Go Vulnerability Database
Other
562 stars 60 forks source link

x/vulndb: potential Go vuln in github.com/projectdiscovery/interactsh: CVE-2023-36474 #1876

Closed GoVulnBot closed 1 year ago

GoVulnBot commented 1 year ago

CVE-2023-36474 references github.com/projectdiscovery/interactsh, which may be a Go module.

Description: 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.

References:

Cross references:

See doc/triage.md for instructions on how to triage this report.

modules:
    - module: github.com/projectdiscovery/interactsh
      vulnerable_at: 1.1.4
      packages:
        - package: interactsh
description: |-
    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.
cves:
    - CVE-2023-36474
references:
    - advisory: https://github.com/projectdiscovery/interactsh/security/advisories/GHSA-m36x-mgfh-8g78
    - report: https://github.com/projectdiscovery/interactsh/issues/136
    - fix: https://github.com/projectdiscovery/interactsh/pull/155
    - web: https://labs.detectify.com/2014/10/21/hostile-subdomain-takeover-using-herokugithubdesk-more/
gopherbot commented 1 year ago

Change https://go.dev/cl/507896 mentions this issue: data/excluded: batch add 10 excluded reports

tatianab commented 1 year ago

Duplicate of #372