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

Comments for Detecting Postgres SQL Injection #623

Open
phinjensen opened this Issue Nov 11, 2017 · 4 comments

Comments

Projects
None yet
1 participant
@phinjensen
Contributor

phinjensen commented Nov 11, 2017

Comments for https://www.endpoint.com/blog/2012/06/10/detecting-postgres-sql-injection

To enter a comment:

  1. Log in to GitHub
  2. Leave a comment on this issue.
@phinjensen

This comment has been minimized.

Contributor

phinjensen commented Nov 11, 2017

original author: Fazal Majid
date: 2012-06-11T00:52:16-04:00

One very effective tool to guard against SQL injection attacks, and many others, is the modsecurity module for Apache. I used it to mitigate a legacy Perl/MySQL app, that would otherwise had to be shut down for contractual compliance reasons with mandated security audits.

@phinjensen

This comment has been minimized.

Contributor

phinjensen commented Nov 11, 2017

original author: Unknown
date: 2012-06-11T08:10:40-04:00

The ONLY way to completely guard against SQL injection is to always use parameterized queries. If you're not doing that all the fancy logging / detection is just going to help you detect the damage being done.

A further explanation

@phinjensen

This comment has been minimized.

Contributor

phinjensen commented Nov 11, 2017

original author: Greg Sabino Mullane
date: 2012-06-19T13:28:05-04:00

Unkown, I I hear your point, but even parameterized queries is not 100% guaranteed protection. Perhaps that's a subject for another blog post.

@phinjensen

This comment has been minimized.

Contributor

phinjensen commented Nov 11, 2017

original author: Anonymous
date: 2012-06-28T04:41:23-04:00

Love the image with the elephant getting an injection. LOL

@EndPointCorp EndPointCorp deleted a comment from david29031995 Jun 18, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment