DEV Community

StarkMan
StarkMan

Posted on

Part-DB's 156 Title Matches and a Protocol-Relative Redirect

Part-DB's 156 Title Matches and a Protocol-Relative Redirect

Part-DB is a self-hosted inventory application for electronic parts. Its public footprint is small, which makes ownership checks practical. The relevant security issue is CVE-2026-136917, an open redirect in controllers that accept return destinations.

On December 3, 2026, app="Part-DB" returned zero, title="Part-DB" returned 156 and http.body="part-db" returned 378. All queries used sub_type=all, page 1 and page size 1.

The zero app result and the title matches describe different detection paths. Neither reports the application version or whether a controller accepts _redirect or redirect_back.

The redirect path

Part-DB before 2.20.6 passed user-controlled redirect values without validating that the destination was local. A protocol-relative URL such as //attacker.example can move an authenticated browser away from the trusted application.

This is not direct database access. It is a phishing and trust-abuse path. The attacker benefits because the first URL belongs to the victim's Part-DB instance.

Verify owned instances

Upgrade to 2.20.6 or later. For each owned deployment, test return links in batch edit, part and tool controllers with absolute and protocol-relative values. The fixed behavior should reject non-local destinations or return to a safe local page.

Review logs for unusual redirect parameters followed by authentication. If a user followed a crafted link to an attacker site, preserve the original URL and relevant session records without collecting unnecessary personal data.

Measurement note

The title count is not a vulnerability count. It is an owner-review lead for a small application category. The installed version and redirect helper are the facts that matter.

References

Top comments (0)