robertovasquez wrote on Saturday, June 27, 2015:
Changes has being made to: interface/forms/CAMOS/new.php
Line 108: hidden_category POST parameter is passed to a query unescaped when hidden_mode and
hidden_selection equal delete and change_category, respectively.
Line 120: hidden_subcategory POST parameter is passed to a query unescaped when hidden_mode
and hidden_selection equal delete and change_subcategory, respectively.
Lines 110*, 113, 115, 122, 129, 134, 164, 168, 172, 199, 534*, 538*, and 564 all also feature queries
that appear to contain unescaped user-provided data and are likely vulnerable, but have not been
specifically tested (*second-order).
You will find the code at :
To test the code you can:
-
copy this interface/forms/CAMOS/new.php and replace it on your openemr testing box ( back up the original file first)
-
Select an encounter and run visit forms -> CAMOS
-
Add, alter, del Category, Subcategory , items and do search.