SparkyFitness before 1.12.0 IDOR via Nutritionix Provider providerId Parameter
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CodeWithCJSparkyFitness |
< 1.12.0→ 1.12.0 |
1.12.0 |
Original description The description as published by the source.
SparkyFitness before 1.12.0 contains a missing ownership check in getNutritionixHeaders that allows authenticated users to use another user's Nutritionix API credentials via the providerId parameter. Attackers who know a victim's provider UUID can call the Nutritionix search, nutrients, item, or exercise endpoints to consume the victim's paid API quota.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web github.com
- web github.com