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 #2

Open
free-Runner opened this issue Jul 13, 2015 · 2 comments
Open

SQL Injection #2

free-Runner opened this issue Jul 13, 2015 · 2 comments

Comments

@free-Runner
Copy link

Here: https://github.com/narenaryan/Salary-API/blob/master/app.py#L25

Since there's no input validation and no use of ORM, if the department name contains SQL code, your database is compromised.

@jtatum
Copy link

jtatum commented Aug 2, 2015

ORM is not required... Query binding would also fix this and is well supported by DBAPI drivers.

@ghost
Copy link

ghost commented Jun 17, 2018

@free-Runner ORM has by default a SQL-Injection Prevention.

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

2 participants