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

Blind sql injection vulnerabilities secure implementations #477

Merged

Conversation

imertetsu
Copy link
Contributor

This PR adds Blind SQL injection secure implementations for levels 4 and 5 in the BlindSQLInjectionVulnerability class.

Level 4: Implementation of getCarInformationLevel4 method using parameterized queries with JdbcTemplate.

Level 5: Implementation of the getCarInformationLevel5 method using EntityManager to safely perform queries using Hibernate, avoiding SQL injection.

Resolves: #405

@imertetsu imertetsu changed the title Secured implementations blind sql Blind sql injection vulnerabilities secure implementations Oct 31, 2024
@imertetsu
Copy link
Contributor Author

Hi @preetkaran20, sorry, I created a PR with previous commits that I made, so I closed it, I created this new PR with only the commits that should be :)

@preetkaran20
Copy link
Member

@imertetsu Thanks a lot for the PR. It LGTM and hence merging the PR.

@preetkaran20 preetkaran20 merged commit 28348f4 into SasanLabs:master Nov 11, 2024
1 check passed
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.

Add 2-3 secured implementations for Blind SQL Injection
2 participants