Skip to content
SQL injection Advisory Intermediate CVE-2016-9048

ProcessMaker Enterprise Core Multiple SQL Injection Vulnerabilities

Several endpoints in ProcessMaker Enterprise Core pass user-supplied parameters straight into SQL queries, so crafted requests cause SQL injection. An authenticated attacker could read database contents such as usernames and password hashes, and one endpoint was reachable without authentication if a connection name was known.

Jerzy Kramarz Follow

Originally disclosed on Cisco Talos

High 7.4 View original

Multiple exploitable SQL Injection vulnerabilities exists in ProcessMarker Enterprise Core 3.0.1.7-community. Specially crafted web requests can cause SQL injections.

Jerzy 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

Likely the application concatenates request parameters such as sort, dir, cat, node, lang, pk and table directly into SQL statements instead of using parameterised queries.

Impact

An attacker could read database contents including usernames and password hashes, and in certain setups could reach the underlying operating system; most of the listed endpoints required authentication, while the genericAjax one did not but needed a known connection name.

What the attacker needed

Authenticated session for most endpoints; known database connection name for the unauthenticated one

The fix

The text gives no code fix; it only advises restricting access to known, trusted users and hosts, whereas the queries should be rewritten to use parameterised statements.

How it was found

  1. Send a request to the events list endpoint with a crafted sort parameter.
  2. Send a request to the table fields save endpoint with a crafted sort parameter.
  3. Send a request to the process list endpoint with a crafted sort parameter.
  4. Send requests to the translations endpoint with crafted cat, node or lang parameters.
  5. For the unauthenticated case, send a request to the genericAjax endpoint with a known connection name and crafted pk and table parameters.

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.

A database query is built by gluing together text from the web request. If that text is not treated as plain data, an attacker can slip in extra database instructions and change what the query does. Here that could let someone read stored user records, including password hashes.

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 Jerzy Kramarz

View all

1 more disclosed report, 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.