Tweek!DM Document Management suffers from bypass and remote SQL injection vulnerabilities.
0160f108df220a9e29b0cb1baa6bcd65
https://www.osisecurity.com.au/tweekdm-document-management-authentication-bypass-sql-injection-vulnerabilities.html
Date:
04-Apr-2017
Product:
Tweek!DM Document Management
Versions affected:
Unknown
Vulnerabilities:
1) Authentication bypass - the software sends a 301 Location redirect
back to the login page, if an unauthenticated user requests an
authenticated administration page. However on the PHP side the script
does not exit(0); therefore you can use the system as an administrator
and execute admin functions regardless, such as modifying documents by
ignoring the redirect and interacting with the HTML content.
2) There is a SQL injection in the user edit form e.g
https://[target]/admin/users/edit.php?id=1
(which is accessible as an "administrator" - exploit unauthenticated
as per above).
Credit:
Discovered by Patrick Webster
Disclosure timeline:
03-Mar-2015 - Discovered during audit. Reported to vendor.
04-Mar-2015 - Vendor response.
09-Mar-2015 - Vendor released patch.
04-Apr-2017 - Public disclosure.
About OSI Security:
OSI Security is an independent network and computer security auditing
and consulting company based in Sydney, Australia. We provide internal
and external penetration testing, vulnerability auditing and wireless
site audits, vendor product assessments, secure network design,
forensics and risk mitigation services.
We can be found at http://www.osisecurity.com.au/