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

Patched multiple SQLis #30

Merged
merged 1 commit into from
Feb 9, 2022
Merged

Patched multiple SQLis #30

merged 1 commit into from
Feb 9, 2022

Conversation

meme-lord
Copy link
Contributor

I found multiple SQLis in this module on a recent pentest engagement. This patch should fix them.
The main issue was IDs and numbers were all sanitised by converting to ints but strings were passed through without sanitisation.
Prestashop provides a pSQL() function for sanitising strings so I applied that to the relevant variables.
When this PR is accepted I will be applying for a CVE number for this.

@xpert-idea xpert-idea merged commit 5a3f51d into xpert-idea:master Feb 9, 2022
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

Successfully merging this pull request may close these issues.

2 participants