HexBrain

Browse / CVEs / CVE-2012-4982

CVE-2012-4982· forescout / counteract· CWE-20

Forescout CounterACT 6.3.4.1 - Open Redirect

mediumseverity
5.8CVSS score
8.9%likelihood of exploitation, next 30 days
95%of all CVEs are less likely
Readycheck to confirm it

Open redirect vulnerability in assets/login on the Forescout CounterACT NAC device before 7.0 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via a URL in the 'a' parameter.

Impact

An attacker can exploit this vulnerability to redirect users to malicious websites, leading to phishing attacks or the download of malware.

Fix

Apply the latest security patches or upgrade to a newer version of Forescout CounterACT to fix the open redirect vulnerability.

How to confirm it

Send: GET {{BaseURL}}/assets/login?a=https://interact.sh
Positive when: matches in header /(?m)^(?:Location\s*?:\s*?)(?:https?://|//)(?:[a-zA-Z0-9\-_\.@]*)interact\.sh.*$/

Run it with nuclei: nuclei -id CVE-2012-4982 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2012-4982

info:
  name: Forescout CounterACT 6.3.4.1 - Open Redirect
  author: ctflearner
  severity: medium
  description: |
    Open redirect vulnerability in assets/login on the Forescout CounterACT NAC device before 7.0 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via a URL in the 'a' parameter.
  impact: |
    An attacker can exploit this vulnerability to redirect users to malicious websites, leading to phishing attacks or the download of malware.
  remediation: |
    Apply the latest security patches or upgrade to a newer version of Forescout CounterACT to fix the open redirect vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/38062
    - https://www.reactionpenetrationtesting.co.uk/forescout-cross-site-redirection.html
    - https://nvd.nist.gov/vuln/detail/CVE-2012-4982
    - http://www.reactionpenetrationtesting.co.uk/forescout-cross-site-redirection.html
    - https://github.com/tr3ss/newclei
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:N
    cvss-score: 5.8
    cve-id: CVE-2012-4982
    cwe-id: CWE-20
    epss-score: 0.08907
    epss-percentile: 0.95276
    cpe: cpe:2.3:a:forescout:counteract:6.3.4.10:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: forescout
    product: counteract
  tags: cve,cve2012,redirect,forescout,counteract,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/assets/login?a=https://interact.sh"

    matchers:
      - type: regex
        part: header
        regex:
          - '(?m)^(?:Location\s*?:\s*?)(?:https?://|//)(?:[a-zA-Z0-9\-_\.@]*)interact\.sh.*$'

References

Use this check only on systems you are authorised to test. Where the data comes from