SourceCodester Online Health Care System 1.0 search.php f_name sql injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.2 | $0-$5k | 0.00 |
Summary
A vulnerability classified as critical was found in SourceCodester Online Health Care System 1.0. Affected by this issue is some unknown functionality of the file search.php. The manipulation of the argument f_name with the input 1%' or 1=1 ) UNION SELECT 1,2,3,4,5,database(),7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23# as part of string results in sql injection.
This vulnerability is reported as CVE-2024-8080. The attack can be launched remotely. Moreover, an exploit is present.
Details
A vulnerability classified as critical has been found in SourceCodester Online Health Care System 1.0 (Health Information Software). Affected is an unknown function of the file search.php. The manipulation of the argument f_name with the input value 1%' or 1=1 ) UNION SELECT 1,2,3,4,5,database(),7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23# leads to a sql injection vulnerability. CWE is classifying the issue as CWE-89. The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. This is going to have an impact on confidentiality, integrity, and availability.
The weakness was disclosed as not defined blog post via scip VulDB. The advisory is available at github.com. This vulnerability is traded as CVE-2024-8080. The exploitability is told to be easy. It is possible to launch the attack remotely. Technical details and a public exploit are known. This vulnerability is assigned to T1505 by the MITRE ATT&CK project. The reason for this vulnerability is this part of code:
$name=$_POST['f_name']; $query1 = "SELECT * from doctor inner join schedule on schedule.d_id=doctor.id WHERE (permission='approved' OR permission='Added') AND (f_name like'%$name%' or f_name like'%$name%')"; $run = mysqli_query($db,$query1);
The exploit is shared for download at github.com. It is declared as proof-of-concept. By approaching the search of inurl:search.php it is possible to find vulnerable targets with Google Hacking.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://www.sourcecodester.com/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.5VulDB Meta Temp Score: 7.2
VulDB Base Score: 6.3
VulDB Temp Score: 5.7
VulDB Vector: 🔍
VulDB Reliability: 🔍
Researcher Base Score: 10.0
Researcher Vector: 🔍
CNA Base Score: 6.3
CNA Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Researcher Base Score: 🔍
Exploiting
Class: Sql injectionCWE: CWE-89 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
Google Hack: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Timeline
08/22/2024 🔍08/22/2024 🔍
08/24/2024 🔍
Sources
Vendor: sourcecodester.comAdvisory: github.com
Status: Not defined
CVE: CVE-2024-8080 (🔍)
GCVE (CVE): GCVE-0-2024-8080
GCVE (VulDB): GCVE-100-275562
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 08/22/2024 14:31Updated: 08/24/2024 13:15
Changes: 08/22/2024 14:31 (55), 08/22/2024 16:50 (26), 08/22/2024 16:53 (4), 08/24/2024 13:15 (20)
Complete: 🔍
Submitter: checkin
Committer: checkin
Cache ID: 216::103
Submit
Accepted
- Submit #395465: sourcecodester Online Health Care System in PHP with Full Source Code v1.0 SQL Injection (by checkin)
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.