School Management System – WPSchoolPress <= 2.1.9 - SQL Injection

2021-10-11 00:00
ZhongFu Su

Strategic Overview

Status
Patched in 2.1.10
Affected Version< 2.1.10
CVSS8.8High
CVECVE-2021-24575
View all School Management System – WPSchoolPress vulnerabilities

Vulnerability Overview

The School Management System – WPSchoolPress plugin for WordPress is vulnerable to blind SQL Injection via the several parameters in versions up to, and including, 2.1.9 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. The following are the parameters that are vulnerable: 'main_m_id', 'Class', 'data', 'exmarks', 'day', 'absent' and 'AttendanceClass'.

Technical Analysis

REMEDIATION: Update to version 2.1.10, or a newer patched version --- IDENTIFIER: CWE-89 (Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')) The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C