# CVE-2024-56733: Password Pusher Allows Session Token Interception Leading to Potential Hijacking

> Attackers can hijack user sessions by intercepting session cookies before logout, requiring SSL enforcement and local security best practices for mitigation.

- **Severity:** Medium 5.7 (`CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** An administrator
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 30 Dec 2024
- **Updated:** 30 Dec 2024
- **Also known as:** GHSA-4fwj-m62q-pp47

## What is CVE-2024-56733?

CVE-2024-56733 is a medium-severity authentication bypass vulnerability in pglombardo PasswordPusher, published on 30 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

Password Pusher is an open source application to communicate sensitive information over the web. A vulnerability has been reported in versions 1.50.3 and prior where an attacker can copy the session cookie before a user logs out, potentially allowing session hijacking. Although the session token is replaced and invalidated upon logout, if an attacker manages to capture the session cookie before this process, they can use the token to gain unauthorized access to the user's session until the token expires or is manually cleared. This vulnerability hinges on the attacker's ability to access the session cookie during an active session, either through a man-in-the-middle attack, by exploiting another vulnerability like XSS, or via direct access to the victim's device. Although there is no direct resolution to this vulnerability, it is recommended to always use the latest version of Password Pusher to best mitigate risk. If self-hosting, ensure Password Pusher is hosted exclusively over SSL connections to encrypt traffic and prevent session cookies from being intercepted in transit. Additionally, implement best practices in local security to safeguard user systems, browsers, and data against unauthorized access.

Weakness: CWE-384 (Session Fixation)

## Which versions are affected by CVE-2024-56733?

2 open source packages ship an affected version, including pwpush.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `pwpush` | RubyGems | All versions to 1.50.3 | None |
| `pwpush` | RubyGems | All versions to 1.50.3 | None |

## How do I fix CVE-2024-56733?

No fix has been published for CVE-2024-56733 yet. Limit exposure of the affected software until one is available.

## Is CVE-2024-56733 being exploited?

There is no known exploitation of CVE-2024-56733 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-56733 and fix it if it is affected.

What it is: CVE-2024-56733 is a medium-severity authentication bypass vulnerability in pglombardo PasswordPusher, published on 30 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2024-56733 in the wild and no public exploit code.

Affected packages and fixed versions:
- pwpush (RubyGems): affected all versions up to 1.50.3; no fix listed
- pwpush (RubyGems): affected all versions up to 1.50.3; no fix listed

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2024-56733/ (Markdown: https://insights.sbomify.com/CVE-2024-56733/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2024-56733
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-56733
- OSV: https://osv.dev/vulnerability/CVE-2024-56733

---
From sbomify Insights: https://insights.sbomify.com/CVE-2024-56733/
Summaries are generated and may contain mistakes; the official description above is the record.
