GSA / data.gov

Main repository for the data.gov service
https://data.gov
Other
631 stars 100 forks source link

Ensure CKAN URL parameters are properly sanitized #3250

Open adborden opened 3 years ago

adborden commented 3 years ago

User Story

In order to ensure CKAN follows best security practices regarding sanitizing inputs, data.gov wants to audit URL parameters in CKAN in order to ensure all URL inputs are properly sanitized before processing.

Acceptance Criteria

[ACs should be clearly demoable/verifiable whenever possible. Try specifying them using BDD.]

Background

https://github.com/GSA/datagov-deploy/issues/3245 https://cheatsheetseries.owasp.org/cheatsheets/Input_Validation_Cheat_Sheet.html (and OWASP in general)

Security Considerations (required)

[Any security concerns that might be implicated in the change. "None" is OK, just be explicit here!]

Sketch

mogul commented 3 years ago

We'll revisit this after we're fully on CKAN 2.9/Py3.