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

Fix an SQL Injection Vulnerability #2696

Closed
wants to merge 1 commit into from
Closed

Fix an SQL Injection Vulnerability #2696

wants to merge 1 commit into from

Conversation

tch1bo
Copy link

@tch1bo tch1bo commented Jan 17, 2019

Hello,

I noticed an SQL Injection in lfunction/main.py.

Here's a Proof of Concept exploit:
http://www.lmfdb.org/L/Plot/EllipticCurve/Q/asdajksdaksdhad'%20or%201%3D1%20--%20/.

SQL Injection vulnerabilities can have serious consequences, so please consider my fix.

I found the bug while testing DeepCode’s AI Code Review. The tool can help you automate the process of finding such (and many other types of) bugs. You can sign-up your repo (free for Open Source) to receive notifications whenever new bugs are detected. You can give it a try here.

Any feedback is more than welcome at chibo@deepcode.ai.

Cheers, Victor.

@edgarcosta
Copy link
Member

@JohnCremona, this will also be fixed in the upcoming PR for CMFs

@AndrewVSutherland
Copy link
Member

This issue was addressed in PR #2717

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.

None yet

3 participants