SentinelDataHub/DataHubSystem

sql injection

Closed this issue · 3 comments

There is a sql injection in core/src/main/java/fr/gael/dhus/database/dao/ProductDao.java:364: getProductByUuid does not verify the parameter uuid (eg /odata/v1/Products(''')). I think I've seen another unsafe query where the username could be used.

Fixed in DHuS version 0.12.5-6-osf.

Still not fixed in 0.12.5-6-osf.

Rayne commented

The tag 0.12.5-6-osf is still vulnerable (0.12.5-6-osf/…/ProductDao.java). This isn't surprising as the method body wasn't touched for ten months.