code-projects Blood Bank System 1.0 Login Page /login.php User cross site scripting

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.8$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.9
VulDB 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: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Researcher Base Score: 🔍

Exploitinginfo

Class: Cross site scripting
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍

Timelineinfo

08/20/2024 🔍
08/22/2024 +2 days 🔍
08/26/2024 +4 days 🔍
08/26/2024 +0 days 🔍
03/12/2025 +198 days 🔍

Sourcesinfo

Vendor: code-projects.org

Advisory: 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

Entryinfo

Created: 08/26/2024 09:56
Updated: 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

Submitinfo

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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!