CVE-2019-14933: Bagisto CSRF Vulnerability
8.8
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.34931%
CWE
Published
5/24/2022
Updated
4/25/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
bagisto/bagisto | composer | < 0.1.5 | 0.1.5 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from admin panel endpoints (e.g., /admin/customers/delete/{id}) using GET requests for destructive operations. Based on the GitHub issue #750 and PR #808 descriptions:
- Multiple admin delete endpoints were vulnerable to CSRF via GET requests
- The fix involved changing HTTP methods from GET to POST and implementing CSRF protection
- The pattern affects multiple controllers (Customers, Reviews, Groups, etc.)
- Laravel's default CSRF protection middleware requires either:
- POST/PUT/PATCH/DELETE requests
- CSRF token verification Both were missing in vulnerable versions for these admin routes