Moss SQL Injection Vulnerability

Vulnerability

A SQL injection vulnerability has been identified in Moss version 0.1.3. This vulnerability allows attackers to inject malicious SQL payloads into the 'order' parameter. The injection can be exploited through several admin API endpoints, including article, category, tag, link, and store lists, after logging into the backend.

Impact

Exploitation of this vulnerability allows for SQL injection, where an attacker can manipulate SQL queries to execute arbitrary SQL code. This could lead to unauthorized data access, data manipulation, or in some cases, executing administrative operations on the database.

Reproduction

To reproduce this vulnerability, log into the backend of the application. Then, send a POST request to the '/admin/api/article/list' endpoint with a crafted payload in the 'order' parameter that exploits the SQL injection flaw. The same injection can be applied to the category, tag, link, and store list endpoints.

Remediation

It is recommended to implement proper input validation and parameterized queries to prevent SQL injection vulnerabilities. Additionally, filtering the 'order' parameter in the context could help mitigate this issue.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
6.1
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.