PT-2020-15588 · Sourcecodester · Sourcecodester Stock Management System
Published
2020-09-02
·
Updated
2020-09-10
·
CVE-2020-23830
CVSS v3.1
7.1
High
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H |
Name of the Vulnerable Software and Affected Versions
SourceCodester Stock Management System version 1.0
Description
A Cross-Site Request Forgery issue in the changeUsername.php file allows remote attackers to change an authenticated victim's username when they visit a third-party site, potentially denying future logins.
Recommendations
For version 1.0, consider implementing proper CSRF protection mechanisms, such as token-based validation, to prevent unauthorized changes to user credentials. As a temporary workaround, restrict access to the changeUsername.php file until a proper fix is implemented.
Exploit
Fix
CSRF
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Sourcecodester Stock Management System