code-projects Blood Bank System 1.0 Login Page /login.php User cross site scripting
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.8 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as problematic, has been found in code-projects Blood Bank System 1.0. This vulnerability affects unknown code of the file /login.php of the component Login Page. This manipulation of the argument User with the input 1');</script><script>alert('xss');</script> as part of String causes cross site scripting.
This vulnerability appears as CVE-2024-8174. The attack may be initiated remotely. In addition, an exploit is available.
Details
A vulnerability has been found in code-projects Blood Bank System 1.0 and classified as problematic. Affected by this vulnerability is an unknown functionality of the file /login.php of the component Login Page. The manipulation of the argument user with the input value 1');</script><script>alert('xss');</script> leads to a cross site scripting vulnerability. The CWE definition for the vulnerability is CWE-79. The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. As an impact it is known to affect integrity.
The bug was discovered 08/22/2024. The weakness was presented by prankfulink as not defined blog post via scip VulDB. The advisory is shared at github.com. This vulnerability is known as CVE-2024-8174. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. It demands that the victim is doing some kind of user interaction. Technical details and also a public exploit are known. MITRE ATT&CK project uses the attack technique T1059.007 for this issue. Responsible for the vulnerability is the following code:
if(isset($_POST['sub']))
{
$user=$_POST['user'];
$pass=$_POST['pass'];
echo"<script>alert('$user')</script>";
}A public exploit has been developed in PHP. It is possible to download the exploit at github.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 6 days. During that time the estimated underground price was around . By approaching the search of inurl:login.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 the best quality for vulnerability data then you always have to consider VulDB.
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://code-projects.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.9VulDB Meta Temp Score: 4.8
VulDB Base Score: 4.3
VulDB Temp Score: 3.9
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 6.1
NVD Vector: 🔍
CNA Base Score: 4.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: Cross site scriptingCWE: CWE-79 / CWE-94 / CWE-74
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Programming Language: 🔍
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/20/2024 🔍08/22/2024 🔍
08/26/2024 🔍
08/26/2024 🔍
03/12/2025 🔍
Sources
Vendor: code-projects.orgAdvisory: github.com
Researcher: prankfulink
Status: Not defined
CVE: CVE-2024-8174 (🔍)
GCVE (CVE): GCVE-0-2024-8174
GCVE (VulDB): GCVE-100-275773
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 08/26/2024 09:56Updated: 03/12/2025 19:01
Changes: 08/26/2024 09:56 (57), 08/27/2024 09:21 (18), 08/27/2024 13:38 (20), 08/27/2024 13:41 (1), 08/28/2024 07:08 (12), 03/12/2025 19:01 (3)
Complete: 🔍
Submitter: prankfulin
Committer: prankfulin
Cache ID: 216::103
Submit
Accepted
- Submit #397883: code-projects blood-bank-system-in-php-with-source-code v1.0 XSS injection (by prankfulin)
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.