CVE-2024-52796
JSON

5.3medium

Password Pusher's rate limiter can be bypassed by forging proxy headers

Severity
5.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.54% (higher than 47% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-ffp2-8p2h-4m5j

Description

Password Pusher, an open source application to communicate sensitive information over the web, comes with a configurable rate limiter. In versions prior to v1.49.0, the rate limiter could be bypassed by forging proxy headers allowing bad actors to send unlimited traffic to the site potentially causing a denial of service. In v1.49.0, a fix was implemented to only authorize proxies on local IPs which resolves this issue. As a workaround, one may add rules to one's proxy and/or firewall to not accept external proxy headers such as `X-Forwarded-*` from clients.

Affected

Product or packageVersionsReported by
pglombardo PasswordPusher< 1.49.0CVE List
pglombardo password_pusherbefore 1.49.0CVE List
pwpush (RubyGems)before 1.49.0GitHub Advisory Database

All scores

GitHub_M5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHub5.3low CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHublow CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U

Classification

CWE-770

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

Password Pusher, an open source application to communicate sensitive information over the web, comes with a configurable rate limiter. In versions prior to v1.49.0, the rate limiter could be bypassed by forging proxy headers allowing bad actors to send unlimited traffic to the site potentially causing a denial of service. In v1.49.0, a fix was implemented to only authorize proxies on local IPs which resolves this issue. As a workaround, one may add rules to one's proxy and/or firewall to not accept external proxy headers such as `X-Forwarded-*` from clients.

GitHub Advisory Database
Impact

Password Pusher comes with a configurable rate limiter. In versions prior to v1.49.0, the rate limiter could be bypassed by forging proxy headers allowing bad actors to send unlimited traffic to the site potentially causing a denial of service.

Additionally, with the ability to bypass rate limiting, it also allows attackers to more easily execute brute force attacks.

Patches

In v1.49.0, a fix was implemented to only authorize proxies on local IPs which resolves this issue.

If you are running a remote proxy, please see this documentation on how to authorize the IP address of your remote proxy.

Workarounds

It is highly suggested to upgrade to at least v1.49.0 to mitigate this risk.

If for some reason you cannot immediately upgrade, the alternative is that you can add rules to your proxy and/or firewall to not accept external proxy headers such as X-Forwarded-* from clients.

References

The new settings are configurable to authorize remote proxies.

Credits

Thank you to Positive Technologies for reporting and working with me to bring this CVE to the community with the associated fix.

NVD (es)

Password Pusher, una aplicación de código abierto para comunicar información confidencial a través de la web, viene con un limitador de velocidad configurable. En versiones anteriores a la v1.49.0, el limitador de velocidad se podía eludir falsificando encabezados de proxy que permitían a los actores maliciosos enviar tráfico ilimitado al sitio, lo que podría causar una denegación de servicio. En la v1.49.0, se implementó una solución para autorizar solo servidores proxy en direcciones IP locales, lo que resuelve este problema. Como workaround, se pueden agregar reglas al servidor proxy o al firewall para no aceptar encabezados de proxy externos como `X-Forwarded-*` de los clientes.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-52796 changed 2024-11-20CVE Terms of Use
GitHub Advisory DatabaseGHSA-ffp2-8p2h-4m5j changed 2024-11-26CC-BY-4.0
NVDCVE-2024-52796 changed 2026-06-17Public domain