CVE-2023-40172 Vulnerability Analysis & Exploit Details

CVE-2023-40172
Vulnerability Scoring

6.5
/10
High Risk

If left unpatched, CVE-2023-40172 could lead to major system disruptions or data loss.

Attack Complexity Details

  • Attack Complexity: Low
    Exploits can be performed without significant complexity or special conditions.
  • Attack Vector: Network
    Vulnerability is exploitable over a network without physical access.
  • Privileges Required: None
    No privileges are required for exploitation.
  • Scope: Unchanged
    Exploit remains within the originally vulnerable component.
  • User Interaction: Required
    User interaction is necessary for successful exploitation.

CVE-2023-40172 Details

Status: Modified

Last updated: 🕗 21 Nov 2024, 08:18 UTC
Originally published on: 🕙 18 Aug 2023, 22:15 UTC

Time between publication and last update: 460 days

CVSS Release: version 3

CVSS3 Source

security-advisories@github.com

CVSS3 Type

Secondary

CVSS3 Vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

CVE-2023-40172 Vulnerability Summary

CVE-2023-40172: Social media skeleton is an uncompleted/framework social media project implemented using a php, css ,javascript and html. A Cross-site request forgery (CSRF) attack is a type of malicious attack whereby an attacker tricks a victim into performing an action on a website that they do not intend to do. This can be done by sending the victim a malicious link or by exploiting a vulnerability in the website. Prior to version 1.0.5 Social media skeleton did not properly restrict CSRF attacks. This has been addressed in version 1.0.5 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

Assessing the Risk of CVE-2023-40172

Access Complexity Graph

The exploitability of CVE-2023-40172 depends on two key factors: attack complexity (the level of effort required to execute an exploit) and privileges required (the access level an attacker needs).

Exploitability Analysis for CVE-2023-40172

With low attack complexity and no required privileges, CVE-2023-40172 is an easy target for cybercriminals. Organizations should prioritize immediate mitigation measures to prevent unauthorized access and data breaches.

Understanding AC and PR

A lower complexity and fewer privilege requirements make exploitation easier. Security teams should evaluate these aspects to determine the urgency of mitigation strategies, such as patch management and access control policies.

Attack Complexity (AC) measures the difficulty in executing an exploit. A high AC means that specific conditions must be met, making an attack more challenging, while a low AC means the vulnerability can be exploited with minimal effort.

Privileges Required (PR) determine the level of system access necessary for an attack. Vulnerabilities requiring no privileges are more accessible to attackers, whereas high privilege requirements limit exploitation to authorized users with elevated access.

CVSS Score Breakdown Chart

Above is the CVSS Sub-score Breakdown for CVE-2023-40172, illustrating how Base, Impact, and Exploitability factors combine to form the overall severity rating. A higher sub-score typically indicates a more severe or easier-to-exploit vulnerability.

CIA Impact Analysis

Below is the Impact Analysis for CVE-2023-40172, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: None
    CVE-2023-40172 has no significant impact on data confidentiality.
  • Integrity: High
    CVE-2023-40172 could allow unauthorized modifications to data, potentially affecting system reliability and trust.
  • Availability: None
    CVE-2023-40172 does not impact system availability.

Exploit Prediction Scoring System (EPSS)

The EPSS score estimates the probability that this vulnerability will be exploited in the near future.

EPSS Score: 0.073% (probability of exploit)

EPSS Percentile: 35.21% (lower percentile = lower relative risk)
This vulnerability is less risky than approximately 64.78999999999999% of others.

CVE-2023-40172 References

External References

CWE Common Weakness Enumeration

CWE-352

CAPEC Common Attack Pattern Enumeration and Classification

  • JSON Hijacking (aka JavaScript Hijacking) CAPEC-111 An attacker targets a system that uses JavaScript Object Notation (JSON) as a transport mechanism between the client and the server (common in Web 2.0 systems using AJAX) to steal possibly confidential information transmitted from the server back to the client inside the JSON object by taking advantage of the loophole in the browser's Same Origin Policy that does not prohibit JavaScript from one website to be included and executed in the context of another website.
  • Cross-Domain Search Timing CAPEC-462 An attacker initiates cross domain HTTP / GET requests and times the server responses. The timing of these responses may leak important information on what is happening on the server. Browser's same origin policy prevents the attacker from directly reading the server responses (in the absence of any other weaknesses), but does not prevent the attacker from timing the responses to requests that the attacker issued cross domain.
  • Cross Site Identification CAPEC-467 An attacker harvests identifying information about a victim via an active session that the victim's browser has with a social networking site. A victim may have the social networking site open in one tab or perhaps is simply using the "remember me" feature to keep their session with the social networking site active. An attacker induces a payload to execute in the victim's browser that transparently to the victim initiates a request to the social networking site (e.g., via available social network site APIs) to retrieve identifying information about a victim. While some of this information may be public, the attacker is able to harvest this information in context and may use it for further attacks on the user (e.g., spear phishing).
  • Cross Site Request Forgery CAPEC-62 An attacker crafts malicious web links and distributes them (via web pages, email, etc.), typically in a targeted manner, hoping to induce users to click on the link and execute the malicious action against some third-party application. If successful, the action embedded in the malicious link will be processed and accepted by the targeted application with the users' privilege level. This type of attack leverages the persistence and implicit trust placed in user session cookies by many web applications today. In such an architecture, once the user authenticates to an application and a session cookie is created on the user's system, all following transactions for that session are authenticated using that cookie including potential actions initiated by an attacker and simply "riding" the existing session cookie.

Vulnerable Configurations

  • cpe:2.3:a:fobybus:social-media-skeleton:1.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:fobybus:social-media-skeleton:1.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:fobybus:social-media-skeleton:1.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:fobybus:social-media-skeleton:1.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:fobybus:social-media-skeleton:1.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:fobybus:social-media-skeleton:1.0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:fobybus:social-media-skeleton:1.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:fobybus:social-media-skeleton:1.0.3:*:*:*:*:*:*:*
  • cpe:2.3:a:fobybus:social-media-skeleton:1.0.4:*:*:*:*:*:*:*
    cpe:2.3:a:fobybus:social-media-skeleton:1.0.4:*:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2023-40172: Combat Critical CVE Threats

Stay updated with real-time CVE vulnerabilities and take action to secure your systems. Enhance your cybersecurity posture with the latest threat intelligence and mitigation techniques. Develop the skills necessary to defend against CVEs and secure critical infrastructures. Join the top cybersecurity professionals safeguarding today's infrastructures.

Other 5 Recently Published CVEs Vulnerabilities

  • CVE-2025-46328 – snowflake-connector-nodejs is a NodeJS driver for Snowflake. Versions starting from 1.10.0 to before 2.0.4, are vulnerable to a Time-of-Check to Ti...
  • CVE-2025-46327 – gosnowflake is the Snowflake Golang driver. Versions starting from 1.7.0 to before 1.13.3, are vulnerable to a Time-of-Check to Time-of-Use (TOCTOU...
  • CVE-2025-46326 – snowflake-connector-net is the Snowflake Connector for .NET. Versions starting from 2.1.2 to before 4.4.1, are vulnerable to a Time-of-Check to Tim...
  • CVE-2025-4039 – A vulnerability was found in PHPGurukul Rail Pass Management System 1.0. It has been rated as critical. Affected by this issue is some unknown func...
  • CVE-2025-4038 – A vulnerability was found in code-projects Train Ticket Reservation System 1.0. It has been declared as critical. Affected by this vulnerability is...