ProcessMaker sort parameter multiple SQL Injection Vulnerabilities
The sort parameter on two ProcessMaker pages was not sanitised before being placed into an ORDER BY clause, allowing SQL injection. An authenticated attacker could send a crafted request to alter the database query, potentially reading or modifying data.
Originally disclosed on Cisco Talos
Multiple SQL injection vulnerabilities exist in the handling of sort parameters in ProcessMaker 3.4.11. A specially crafted HTTP request can cause an SQL injection.
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 application took the user-supplied sort parameter and used it directly in an ORDER BY clause without proper sanitisation or parameterisation.
Impact
An authenticated attacker could inject SQL commands, potentially leading to unauthorised data access or modification, though the CVSS score indicates limited confidentiality and integrity impact.
What the attacker needed
Authenticated user account
How it was found
- Log in to ProcessMaker to obtain a valid session.
- Send a POST request to the reportTables_Ajax endpoint with a crafted sort parameter.
- Send a POST request to the clientSetupAjax endpoint with a crafted sort parameter.
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 command without being cleaned, so an attacker can change the command. Here, a sorting option in a web request was used directly in a database query. A logged-in user could send a special request to make the database do something unintended.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.