There is an SQL injection vulnerability in vfaka-t1 v2.1.3 at the “/admin/wholesale.php” location.
impact
An attacker can exploit this SQL injection to read, modify, or delete sensitive database contents, potentially gaining full control over the admin panel and compromising the entire system.
Vulnerability reproduction
1.Vulnerability analysis
Vulnerability file:/admin/wholesale.php
After receiving the parameter ‘id’, the code did not perform any pre-compilation or filtering operations, and simply concatenated it directly into the SQL statement, resulting in a SQL injection vulnerability.
There are 11 vulnerability points depending on the value of the “type” parameter.
2.Vulnerability exploitation
First, log in to the backend using the administrator account and password.
Successfully verified the existence of time blind injection vulnerability and boolean blind injection vulnerability.
1
sqlmap -r '/home/qfbsz/111/daima/vka/sql.txt' --batch -p id
SSRF Vulnerability
Description
There is an SSRF vulnerability in vfaka-t1 v2.1.3 at /admin/wholesale.php
impact
An attacker can exploit the SSRF vulnerability to make the server send arbitrary requests to internal or external systems, potentially accessing sensitive internal services, bypassing firewall restrictions, or leaking confidential data.
1.Vulnerability Analysis
Vulnerability file:/admin/wholesale.php
This code does not perform any security processing on the URL parameters after receiving them, and directly uses the getbody function to make the request, resulting in an SSRF vulnerability.
2.Vulnerability exploitation
First, log in to the backend using the administrator account and password.
/admin/usort_add.php endpoint of vfaka-t1 v2.1.3 allows attackers to > execute arbitrary web scripts or HTML via injecting a crafted payload > into the S_title parameter.
impact
An attacker can inject malicious scripts or HTML into the S_title parameter, leading to persistent cross‑site scripting (XSS) in the admin panel. This could result in session hijacking, unauthorized administrative actions, or theft of sensitive data.
1.Vulnerability Analysis
Vulnerability file:/admin/usort_add.php
During the process of obtaining the “S_title” parameter, the “add” operation and the “edit” operation do not convert it into HTML entities and directly concatenate it into the JavaScript code.