Skip to content

Patched multiple SQLis - #30

Merged
xpert-idea merged 1 commit into
xpert-idea:masterfrom
meme-lord:master
Feb 9, 2022
Merged

Patched multiple SQLis#30
xpert-idea merged 1 commit into
xpert-idea:masterfrom
meme-lord:master

Conversation

@meme-lord

Copy link
Copy Markdown
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