CVE-2024-34914: Php censor/php censor PHP Censor Uses A Weak Vulnerability
MODERATECVE-2024-34914 is a MODERATE (CVSS 6.5) php censor uses a weak vulnerability (CWE-327: Use of a Broken or Risky Cryptographic Algorithm) affecting Php censor/php censor libraries in the Packagist ecosystem. The issue involves php censor uses a weak hashing algorithm for the remember me key. Remediation is available by upgrading affected packages to version 2.1.5, 2.0.13.
CVE-2024-34914 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N).
How to Fix CVE-2024-34914
To remediate this vulnerability, upgrade all affected Php censor/php censor dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade php-censor/php-censor to 2.1.5
Upgrade php-censor/php-censor to 2.0.13
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for php-censor/php-censor
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-34914, inspect your project dependencies for Php censor/php censor:
inspect dependencies for php-censor/php-censor
Analyze the terminal output to locate any version of Php censor/php censor in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.5), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-327: Use of a Broken or Risky Cryptographic Algorithm, where the product uses a broken or risky cryptographic algorithm or protocol. In Php censor/php censor, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-34914 Affected Php censor/php censor Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
php-censor/php-censor
|
Packagist |
≥ 2.1.0
< 2.1.5
|
2.1.5
|
|
php-censor/php-censor
|
Packagist |
< 2.0.13
|
2.0.13
|
References
Frequently Asked Questions
What is CVE-2024-34914?
Which Php censor/php censor versions are affected?
What version fixes CVE-2024-34914?
Is php-censor/php-censor affected?
What is the CVSS score of CVE-2024-34914?
What CWE is associated with CVE-2024-34914?
How can I check Packagist dependencies for CVE-2024-34914?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fqw7-839j-hvxj",
"modified" : "2024-05-14T21:49:09Z",
"published" : "2024-05-14T18:31:02Z",
"aliases" : [ "CVE-2024-34914" ],
"summary" : "PHP Censor uses a weak hashing algorithm for the remember me key",
"details" : "php-censor v2.1.4 and fixed in v.2.1.5 was discovered to utilize a weak hashing algorithm for its remember_key value. This allows attackers to bruteforce to bruteforce the remember_key value to gain access to accounts that have checked \"remember me\" when logging in.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "php-censor/php-censor"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.1.0"
}, {
"fixed" : "2.1.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "php-censor/php-censor"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.0.13"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-34914"
}, {
"type" : "WEB",
"url" : "https://github.com/php-censor/php-censor/commit/7b011d1b60f543e6ed814315a285cc80074d12e5"
}, {
"type" : "WEB",
"url" : "https://chmod744.super.site/redacted-vulnerability"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/php-censor/php-censor"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-327" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-14T21:49:09Z",
"nvd_published_at" : "2024-05-14T16:17:30Z"
}
}