[
https://issues.apache.org/jira/browse/OPENMEETINGS-948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13934437#comment-13934437
]
Maxim Solodovnik commented on OPENMEETINGS-948:
-----------------------------------------------
Could you provide more detailed steps? (the steps provided are not reproducible)
Are you sure the issue was found in Openmeetings?
We are not using hibernate and have no FindLocations.java and
LocationService.java in our sources
> SQL Injection: Hibernate
> ------------------------
>
> Key: OPENMEETINGS-948
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-948
> Project: Openmeetings
> Issue Type: Test
> Affects Versions: 3.1.0, 3.0.0
> Environment: Windows 8
> Reporter: Kriti Gupta
> Priority: Critical
> Labels: security
>
> On line 69 of LocationService.java, findAtmByZip() uses Hibernate to execute
> a dynamic SQL statement built with input coming from an
> untrusted source. An attacker could modify the statement's meaning or execute
> arbitrary SQL commands. Using Hibernate to execute a dynamic
> SQL statement built with input coming from an untrusted source can allow an
> attacker to modify the statement's meaning or to execute arbitrary
> SQL commands.
> SQL Injection errors occur when:
> 1. Data enters a program from an untrusted source.
> In this case the data enters at in FindLocations.java at line 86.
> 2. The data is used to dynamically construct a SQL query.
> In this case the data is passed to in LocationService.java at line 69.
--
This message was sent by Atlassian JIRA
(v6.2#6252)