CVE-2025-10197

6.3 MEDIUM

📋 TL;DR

This CVE describes a SQL injection vulnerability in HJSoft HCM Human Resources Management System. Attackers can manipulate the ID parameter in the /templates/attestation/../../selfservice/lawresource/downlawbase endpoint to execute arbitrary SQL commands. Organizations using affected versions of HJSoft HCM are vulnerable to data theft and system compromise.

💻 Affected Systems

Products:
  • HJSoft HCM Human Resources Management System
Versions: Up to and including 20250822
Operating Systems: Any OS running HJSoft HCM
Default Config Vulnerable: ⚠️ Yes
Notes: All deployments with the vulnerable endpoint accessible are affected. The path traversal suggests improper input sanitization.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise leading to theft of sensitive HR data (employee records, salaries, personal information), system takeover, and lateral movement within the network.

🟠

Likely Case

Data exfiltration of HR information, potential credential theft, and database manipulation.

🟢

If Mitigated

Limited impact due to proper input validation, parameterized queries, and network segmentation preventing database access.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: UNKNOWN
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Exploit details are publicly available on GitHub. Remote exploitation is possible without authentication.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: None available

Restart Required: No

Instructions:

Contact HJSoft for patch information. No official patch or advisory has been released as vendor did not respond to disclosure.

🔧 Temporary Workarounds

Web Application Firewall (WAF) Rules

all

Implement WAF rules to block SQL injection patterns targeting the vulnerable endpoint

Network Access Control

all

Restrict access to the vulnerable endpoint using network ACLs or firewall rules

🧯 If You Can't Patch

  • Implement input validation and parameterized queries in the application code
  • Deploy a web application firewall with SQL injection protection rules

🔍 How to Verify

Check if Vulnerable:

Test the endpoint /templates/attestation/../../selfservice/lawresource/downlawbase with SQL injection payloads in the ID parameter

Check Version:

Check HJSoft HCM version in administration panel or configuration files

Verify Fix Applied:

Verify that SQL injection attempts no longer succeed and that input validation is properly implemented

📡 Detection & Monitoring

Log Indicators:

  • Unusual database queries from web server logs
  • Multiple failed SQL injection attempts in application logs
  • Access to the downlawbase endpoint with suspicious parameters

Network Indicators:

  • SQL error messages in HTTP responses
  • Unusual database connection patterns from web servers

SIEM Query:

source="web_logs" AND (uri="*downlawbase*" AND (param="*ID=*" AND (content="*' OR *" OR content="*UNION*" OR content="*SELECT*")))

🔗 References

📤 Share & Export