CVE-2025-56385 Wellsky Harmony SQL Injection
The login page of WellSky Harmony passes the TXTUSERID field into a backend SQL query without sanitisation or parameterisation. An attacker could send crafted requests to the login endpoint to bypass authentication, read or change database contents, or impersonate users.
Published on machevalia.blog
Written by Nick Berrie
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
The application builds a SQL query by concatenating user input from the TXTUSERID login field instead of using parameterised queries.
Impact
An attacker could bypass authentication, impersonate valid users, and, where the database account has enough privileges, read, modify or delete sensitive data or fully compromise the database.
What the attacker needed
Network access to the login page; product is end-of-life, no patch
The fix
The product is end-of-life, so the text recommends restricting network access, adding a WAF, whitelisting allowed characters for TXTUSERID, reducing database privileges and migrating to a supported platform.
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 write-up has not been written yet. The Original tab links to the source.
A login form normally checks a username and password against a database. Here the username is pasted straight into the database command, so special characters typed into it can change what the database does. That lets someone skip the password check or read data they should not see.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.