Skip to content

Latest commit

 

History

History
33 lines (16 loc) · 1.18 KB

cve.md

File metadata and controls

33 lines (16 loc) · 1.18 KB

SQL injection exists in the Mini-Tmall

website: https://gitee.com/project_team/Tmall_demo

version: 2023/10/17 latest

Function point: Background Management---->User query function

Route: r=tmall/admin/user/1/1?orderBy=X

The injection parameter: orderBy exists

The database name was successfully exploded using sqlmap image-20240229201212676

Invoke the getList() method through the orderBy parameter

image-20240229201543835

The getList() method calls the getList() method of the service layer image-20240229202013761

The select() method calls the getList() method of the mapper layer

image-20240229202319331

Finally, the SQL statement is executed in the select() method

image-20240229202414544