PT-2023-12327 · Unknown · Hking2802 Locke-Bot

Published

2023-07-18

·

Updated

2023-07-27

·

CVE-2021-37522

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions HKing2802 Locke-Bot version 2.0.2
Description The issue allows remote attackers to execute arbitrary SQL commands by sending a crafted string to specific API endpoints, including /src/db.js, /commands/mute.js, and /modules/event/messageDelete.js. This enables attackers to manipulate the database.
Recommendations For HKing2802 Locke-Bot version 2.0.2, consider restricting access to the /src/db.js, /commands/mute.js, and /modules/event/messageDelete.js endpoints until a patch is available. As a temporary workaround, validate and sanitize all input strings to prevent SQL injection attacks. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

SQL injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-37522

Affected Products

Hking2802 Locke-Bot