Frappe
cpe:2.3:a:frappe:frappe:*:*:*:*:*:*:*
- 15.55.4
A SQL injection vulnerability has been identified in Frappe ERPNext version 15.57.5. The issue arises in the 'get_loyalty_program_details_with_points()' function within 'erpnext/accounts/doctype/loyalty_program/loyalty_program.py'. The vulnerability allows attackers to inject SQL queries through the 'expiry_date' parameter, potentially leading to unauthorized data extraction from the database.
Exploitation of this vulnerability allows for error-based SQL injection, where an attacker can manipulate SQL queries to extract information from the database. During testing, the vulnerability was successfully exploited to retrieve database information such as the version.
The vulnerability can be reproduced by sending a request to the 'get_loyalty_program_details_with_points()' function with a crafted 'expiry_date' parameter that includes an injected SQL query. This can be done through the ERPNext API.
Users are advised to update to the latest version of Frappe ERPNext, where this vulnerability has been patched.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.