All vulnerabilities

Servers and applications

CVE-2026-62998

Unwhitelisted ORDER BY Column in rex_list Allows Authenticated Column Enumeration

Severity
Medium 4.3
Published
29 Jun 2026
Last changed
19 Oct 2026
Added to UpHeron
3 Nov 2026
Fixed in
5.21.2
Exploit chance
0.4% in the next 30 daysHigher than 33% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Improper input validation (CWE-20)Information exposure (CWE-200)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Also known as
GHSA-4f5f-j737-pm58
Sources
NVD, Project advisories (GitHub)

Description

The rex_list component reads the SQL sort column directly from the sort GET parameter without validating it against the set of columns declared sortable via setColumnSortable(). Although the value is wrapped in backticks via escapeIdentifier() (preventing classical SQL injection), this still allows any authenticated backend user to ORDER BY any column in the query's FROM tables, including unselected sensitive columns such as password from the rex_user table, and perform error-based column enumeration.

File: redaxo/src/core/lib/list.php:976-982 — getSortColumn() returns the raw request parameter without whitelist check:

File: redaxo/src/core/lib/list.php:899-911 — prepareQuery() uses it directly in the ORDER BY clause:

The users list queries rex_user which contains password, previous_passwords, password_change_required — not in the SELECT. Specifying a non-existent column name produces a MySQL Unknown column exception whose message is propagated to the user, confirming or denying…

From redaxo/core's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
REDAXOServers and applications · cpe:a:redaxo:redaxo
  • Every version before 5.21.2
REDAXOServers and applications · github:redaxo/core
  • Every version before 5.21.2

About REDAXO

Content management system

From Wikidata, CC0 1.0.
GitHub stars
356GitHub, 15 Nov 2026
Forks
115GitHub, 15 Nov 2026
Latest release
5.21.6GitHub, 15 Nov 2026
Released
25 Oct 2026GitHub
License
MIT LicenseWikidata
Written in
PHPWikidata
First published on GitHub
4 Jul 2010GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-62998
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-62998
  • GitHub Advisory Database https://github.com/advisories/GHSA-4f5f-j737-pm58
  • github.com https://github.com/redaxo/core/security/advisories/GHSA-4f5f-j737-pm58