CVE-2023-2921
BaseFortify
Publication date: 2025-06-06
Last updated on: 2025-06-10
Assigner: WPScan
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| kaizencoders | short_url | to 1.6.8 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-89 | 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. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2023-2921 is a SQL injection vulnerability in the WordPress plugin Short URL versions up to 1.6.8. It occurs because the plugin does not properly sanitize and escape a parameter (idLink) before using it in an SQL statement. This allows users with low privileges, such as subscribers, to manipulate the SQL query by injecting malicious input, potentially altering database queries or causing delays. [1]
How can this vulnerability impact me? :
This vulnerability can allow low-privileged users to execute arbitrary SQL commands on the database, which can lead to unauthorized data access, data modification, or denial of service (e.g., causing delays with sleep commands). This compromises the integrity and availability of the website's data and may allow attackers to escalate their privileges or disrupt site functionality. [1]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by sending crafted POST requests to the WordPress admin-ajax.php endpoint targeting the Short URL plugin actions such as "valid_link" and "reset_link" with the "idLink" parameter containing SQL injection payloads. For example, a test command using curl could be: curl -X POST -d "action=valid_link&idLink=-1 OR sleep(10)" https://yourwordpresssite.com/wp-admin/admin-ajax.php. A delay in response indicates a successful SQL injection. Similar tests can be done for the "reset_link" action on versions prior to 1.6.5. [1]
What immediate steps should I take to mitigate this vulnerability?
Since no known fix is currently available for this vulnerability, immediate mitigation steps include restricting access to the affected plugin's AJAX endpoints to trusted users only, limiting subscriber privileges, monitoring for suspicious POST requests with unusual parameters, and considering disabling or removing the Short URL plugin until a patch is released. [1]