CVE-2017-5594: Pagekit/pagekit Pagekit Weak Password Recovery Mechanism Vulnerability
HIGHCVE-2017-5594 is a HIGH (CVSS 7.5) pagekit weak password recovery mechanism vulnerability (CWE-640: Weak Password Recovery Mechanism for Forgotten Password) affecting Pagekit/pagekit libraries in the Packagist ecosystem. The issue involves pagekit weak password recovery mechanism for forgotten password. Remediation is available by upgrading affected packages to version 1.0.11.
CVE-2017-5594 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H).
How to Fix CVE-2017-5594
To remediate this vulnerability, upgrade all affected Pagekit/pagekit 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 pagekit/pagekit to 1.0.11
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for pagekit/pagekit
How to Check if You Are Affected
To determine whether your application is affected by CVE-2017-5594, inspect your project dependencies for Pagekit/pagekit:
inspect dependencies for pagekit/pagekit
Analyze the terminal output to locate any version of Pagekit/pagekit in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.11), 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-640: Weak Password Recovery Mechanism for Forgotten Password, where the product contains a mechanism for users to recover or change their passwords without knowing the original password, but the mechanism is weak. In Pagekit/pagekit, 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-2017-5594 Affected Pagekit/pagekit Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pagekit/pagekit
|
Packagist |
< 1.0.11
|
1.0.11
|
References
Frequently Asked Questions
What is CVE-2017-5594?
Which Pagekit/pagekit versions are affected?
What version fixes CVE-2017-5594?
Is pagekit/pagekit affected?
What is the CVSS score of CVE-2017-5594?
What CWE is associated with CVE-2017-5594?
How can I check Packagist dependencies for CVE-2017-5594?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rp89-32rp-qpq2",
"modified" : "2024-04-24T20:18:58Z",
"published" : "2022-05-13T01:12:12Z",
"aliases" : [ "CVE-2017-5594" ],
"summary" : "Pagekit Weak Password Recovery Mechanism for Forgotten Password",
"details" : "An issue was discovered in Pagekit CMS before 1.0.11. In this vulnerability the remote attacker is able to reset the registered user's password, when the debug toolbar is enabled. The password is successfully recovered using this exploit. The SecureLayer7 ID is SL7_PGKT_01.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "pagekit/pagekit"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.0.11"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-5594"
}, {
"type" : "WEB",
"url" : "https://github.com/pagekit/pagekit/commit/e0454f9c037c427a5ff76a57e78dbf8cc00c268b"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/pagekit/pagekit"
}, {
"type" : "WEB",
"url" : "https://securelayer7.net/download/pdf/SecureLayer7-Pentest-report-Pagekit-CMS.pdf"
}, {
"type" : "WEB",
"url" : "https://securelayer7.net/download/poc/password-reset-vulnerability-exploit-ruby-pagekit-cms.rb.txt"
}, {
"type" : "WEB",
"url" : "https://www.exploit-db.com/exploits/41143"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/95806"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-640" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-24T20:18:58Z",
"nvd_published_at" : "2017-01-25T18:59:00Z"
}
}