PT-2023-16598 · WordPress · The Wp Coder
Etan Imanol Castro Aldrete
·
Published
2023-02-17
·
Updated
2023-02-27
·
CVE-2023-0895
CVSS v3.1
7.2
High
| Vector | AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
The WP Coder – add custom html, css and js code plugin for WordPress versions up to, and including, 2.5.3
Description
The issue is related to time-based SQL Injection via the
id parameter due to insufficient escaping on the user-supplied parameter and lack of sufficient preparation on the existing SQL query. This allows authenticated attackers with administrative privileges to append additional SQL queries into already existing queries, which can be used to extract sensitive information from the database.Recommendations
For versions up to, and including, 2.5.3, consider disabling the
id parameter until a patch is available to prevent potential SQL Injection attacks. Restrict access to administrative privileges to minimize the risk of exploitation. Avoid using the id parameter in existing queries until the issue is resolved.Fix
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
The Wp Coder