Opened 5 years ago
Closed 4 years ago
#2483 closed defect (fixed)
Security vulnerability text from dropdown
| Reported by: | Kay Kittell | Owned by: | Kay Kittell |
|---|---|---|---|
| Priority: | medium | Milestone: | Server 2.3.0 |
| Component: | Public Website 2 | Version: | N/A |
| Severity: | Keywords: | ||
| Cc: | Database Engine: | N/A | |
| Operating System: | N/A |
Description
Security scan determined the way the PW uses text in state dropdown as the parameter sent to the dataview, has the potential for a SQL Injection attack. Need to change all areas where the geography sends the text value to the dataview to use the numeric id instead.
Change History (5)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
| Status: | assigned → addressed |
|---|---|
| Summary: | Security vulnerability using state text → Security vulnerability text from dropdown |
Changed Controls/taxonomy/cropstaxonomy, taxon/regulations to any text is parameterized and integers are confirmed to be integers and/or parameterized.
comment:3 by , 5 years ago
| Milestone: | → Server 2.2.3 |
|---|
comment:5 by , 4 years ago
| Component: | Other → Public Website 2 |
|---|---|
| Resolution: | → fixed |
| Status: | addressed → closed |
Note:
See TracTickets
for help on using tickets.

CORRECTION: The problem arises when the country_code is sent in sql or geography_id is sent as a string and not parameterized. This was found in the new regulations page, and the old taxonomysearcheco.