Skip to content
SQL injection Advisory Intermediate CVE-2020-6114

Glacies IceHRM Admin Reports SQL injection Vulnerability

An authenticated user could inject SQL through the 'ob' parameter in the Admin Reports page, allowing access to sensitive database information such as usernames and password hashes.

Yuri Kramarz Follow

Originally disclosed on Cisco Talos

Medium 6.6 View original

An exploitable SQL injection vulnerability exists in the Admin Reports functionality of Glacies IceHRM v26.6.0.OS (Commit bb274de1751ffb9d09482fd2538f9950a94c510a) . A specially crafted HTTP request can cause SQL injection.

Yuri Kramarz, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

The 'ob' parameter is passed through several functions and used directly in an ORDER BY clause without sanitisation.

What the attacker needed

Authenticated admin access

The fix

The vendor patched the issue.

How it was found

  1. Log in to IceHrm as an admin user.
  2. Send a GET request to /app/data.php with a crafted 'ob' parameter containing SQL injection.
  3. The injected SQL is executed in the database, returning sensitive data.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

SQL injection is when user input is inserted into a database query without proper cleaning, letting an attacker change the query's meaning. Here, a logged-in admin could alter the 'ob' parameter to make the database return extra data, like user credentials.

What is SQL injection?

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.

More by Yuri Kramarz

View all

57 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

SQL injection

The lesson behind this report.

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.