Database User Has Admin Privileges

Severity: High
Summary#

Invicti detected the Database User Has Admin Privileges.

This issue has been confirmed by checking the connection privileges via an identified SQL injection vulnerability in the application.

Impact#
This can allow an attacker to gain extra privileges via SQL injection attacks. Here is the list of attacks that the attacker might carry out:
  • Gain full access to the database server.
  • Gain a reverse shell to the database server and execute commands on the underlying operating system.
  • Access the database with full permissions, where it may be possible to read, update or delete arbitrary data from the database.
  • Depending on the platform and the database system user, an attacker might carry out a privilege escalation attack to gain administrator access to the target system.
Remediation#
Create a database user with the least possible permissions for your application and connect to the database with that user. Always follow the principle of providing the least privileges for all users and applications.

Build your resistance to threats. And save hundreds of hours each month.

Get a demo See how it works