Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
BrianKasingli
BrianKasingliAccepted solution
Adobe Champion and Community Advisor
Apr 28, 2022 3:01 AM UTC

You should be fine, using JCR_SQL2 is read only which means that you can only use the "SELECT" keyword.

10 replies

Bhuwan_B
Community Advisor
Community Advisor
Apr 27, 2022 8:28 AM UTC
Anish-Sinha
Adobe Employee
Adobe Employee
Apr 27, 2022 2:01 PM UTC

refer this for the techniques to prevent sql injections - https://labs.tadigital.com/index.php/2018/11/05/sql-injections-overview-and-prevention-techniques/

Translate
arunpatidar
Community Advisor
Community Advisor
Apr 27, 2022 5:22 PM UTC

Please note that JCR SQL injections != RDBMS SQL injections. SQL in JCR is strictly read-only. As far as it is possible to manipulate a query the only risk is information leakage. No data can be manipulated as is the case with RDBMSes.

 

Translate
Arun Patidar
sourcedcode
Level 2
Apr 28, 2022 3:00 AM UTC

.

Translate
BrianKasingli
Adobe Champion and Community Advisor
BrianKasingliAdobe Champion and Community AdvisorAccepted solution
Adobe Champion and Community Advisor
Apr 28, 2022 3:01 AM UTC

You should be fine, using JCR_SQL2 is read only which means that you can only use the "SELECT" keyword.

Translate
maryani
Level 2
Mar 27, 2023 2:18 PM UTC

Hi 

How can we prevent blind XPath injection for an AEM page??

 

Thanks

 

Translate
Apr 5, 2024 1:47 PM UTC

I have got a similar vulnerbility in our latest report. Did you find any solution for this?

Translate