HexBrain

Browse / CVEs / CVE-2022-0597

CVE-2022-0597· microweber / microweber· CWE-601

Microweber < 1.2.11 - Open Redirection

mediumseverity
6.1CVSS score
2.6%likelihood of exploitation, next 30 days
86%of all CVEs are less likely
Readycheck to confirm it

Open Redirect in Packagist microweber/microweber prior to 1.2.11.

Impact

Attackers can redirect users to malicious websites through the redirect_to parameter, potentially facilitating phishing attacks or malware distribution.

Fix

Upgrade to Microweber version 1.2.11 or later.

How to confirm it

Send: GET {{BaseURL}}/api/logout?redirect_to=http://oast.pro/
Positive when: matches in header /(?m)^(?:Location\s*?:\s*?)(?:https?://|//)(?:[a-zA-Z0-9\-_\.@]*)oast\.pro.*$/

Run it with nuclei: nuclei -id CVE-2022-0597 -u <target>

The full check
id: CVE-2022-0597

info:
  name: Microweber < 1.2.11 - Open Redirection
  author: Farish
  severity: medium
  description: |
    Open Redirect in Packagist microweber/microweber prior to 1.2.11.
  impact: |
    Attackers can redirect users to malicious websites through the redirect_to parameter, potentially facilitating phishing attacks or malware distribution.
  remediation: |
    Upgrade to Microweber version 1.2.11 or later.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2022-0597
    - https://huntr.dev/bounties/68c22eab-cc69-4e9f-bcb6-2df3db626813/
    - https://www.mend.io/vulnerability-database/CVE-2022-0597
    - https://github.com/microweber/microweber/commit/acfc6a581d1ea86096d1b0ecd8a0eec927c0e9b2
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2022-0597
    cwe-id: CWE-601
    epss-score: 0.02605
    epss-percentile: 0.85507
    cpe: cpe:2.3:a:microweber:microweber:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: microweber
    product: microweber
    shodan-query:
      - http.favicon.hash:780351152
      - http.html:"microweber"
    fofa-query:
      - body="microweber"
      - icon_hash=780351152
  tags: cve,cve2022,huntr,microweber,redirect,oss,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/api/logout?redirect_to=http://oast.pro/"

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

References

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