ERPNext /api/method/erpnext.accounts.doctype.loyalty_program.loyalty_program.get_loyalty_program_details_with_points SQL 注入漏洞(CVE-2025-52050)

2026-01-16 ERPNext PoC No

Description

Frappe ERPNext 15.57.5 版本中,erpnext/accounts/doctype/loyalty_program/loyalty_program.py 文件内的 get_loyalty_program_details_with_points() 函数存在 SQL 注入漏洞,该函数在处理 expiry_date 参数时未进行充分的过滤和参数化绑定,攻击者可通过构造恶意 SQL 语句注入数据库查询,从而获取数据库中的全部敏感信息。

PoC

None yet. Search at https://trap.biu.life/?ref=rss

References

Related Vulnerabilities