Tweek!DM Document Management Bypass / SQL Injection

Tweek!DM Document Management suffers from bypass and remote SQL injection vulnerabilities.

MD5 | 0160f108df220a9e29b0cb1baa6bcd65


Tweek!DM Document Management

Versions affected:

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

(which is accessible as an "administrator" - exploit unauthenticated
as per above).

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

Related Posts