Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
GoVulnBot opened this issue Jun 28, 2023 · 2 comments
Assignees

Comments

@GoVulnBot
Copy link

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/

@tatianab tatianab self-assigned this Jun 29, 2023
@tatianab tatianab added the excluded: EFFECTIVELY_PRIVATE This vulnerability exists in a package can be imported, but isn't meant to be outside that module. label Jun 29, 2023
@gopherbot
Copy link
Contributor

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

@tatianab
Copy link
Contributor

tatianab commented Jul 5, 2023

Duplicate of #372

@tatianab tatianab marked this as a duplicate of #372 Jul 5, 2023
@tatianab tatianab closed this as completed Jul 5, 2023
@tatianab tatianab added duplicate and removed excluded: EFFECTIVELY_PRIVATE This vulnerability exists in a package can be imported, but isn't meant to be outside that module. labels Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants