Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as any low-privileged user
-
ExploitHarvest victim imgname from public URL or album
-
ExecutionPOST to /admin/setImgFileName with victim imgname
-
ImpactOverwrite victim's image display name with attacker text
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | Requires a valid authenticated account of any privilege level on the target Tbed instance (PR:L) and network reach to the /admin/setImgFileName endpoint. The attacker must also know the victim's imgname identifier - but this is not a meaningful barrier because imgname is exposed in public image URLs and album listings. No special or non-default configuration is needed, and no user interaction by the victim is required. Exploitation is limited to the integrity of image display-name metadata (impersonation/defacement); it does not expose or exfiltrate data and does not affect availability. The only real limiting factor is the need for an authenticated account on the application. |
| Impact | This is a medium-severity, integrity-only issue that does not warrant emergency prioritization. The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) describes a remotely reachable, low-complexity flaw, but it explicitly requires an authenticated account (PR:L) and yields only limited integrity impact (VI:L) with no confidentiality (VC:N) or availability (VA:N) consequences - consistent with a CWE-639 IDOR that merely lets a logged-in user overwrite another user's image display names. No CISA KEV listing and no EPSS score are present in the input, so there is no signal of active or probable widespread exploitation; a public technical write-up (hackmd) and source-code line references exist, which lowers the barrier to reproduction, but that is reproduction detail, not evidence of exploitation in the wild. The signals are internally consistent (network-reachable but authentication-gated, low impact), so there is no contradiction to resolve. Net: a real but low-priority defacement/impersonation bug in a niche self-hosted product - patch in normal cycles rather than as an incident. |
| Exploit ScenarioDerived | An attacker registers or already holds any low-privileged account on a Tbed instance, harvests a target user's imgname from a public image URL or album listing, then calls /admin/setImgFileName with the victim's imgname and an attacker-chosen string. The victim's image display name is overwritten with attacker-controlled text still attributed to the victim, enabling impersonation, abusive content, or defacement. A detailed public write-up documents the flaw and the exact vulnerable code, easing reproduction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 16, 2026
Tbed instances through the 20240319 snapshot let any authenticated user rename another user's images by submitting the victim's imgname to the /admin/setImgFileName endpoint, a missing-authorization (CWE-639) flaw that undermines integrity but not confidentiality or availability. Because imgname values are exposed in public image URLs and album listings, the attacker needs no privileged knowledge to target a victim, and the write allows attacker-chosen display text to be attributed to that victim's images (impersonation/defacement). The assessed CVSS 3.1 vector is AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N (scored 5.3 in the source data), requiring a valid low-privilege account but no victim interaction; no public exploit identified at time of analysis.
RemediationAI
No vendor-released patch identified at time of analysis: the referenced GitHub links point to the vulnerable 20240319 code (AdminController.java lines 158-176 and ImgMapper.xml lines 171-189), not to a tagged fix, so operators should not assume an upstream release resolves this. Until a vendor fix is published, apply compensating controls. First, add an authorization check in AdminController.setImgFileName that resolves the submitted imgname to its owner and rejects the request unless the caller is that owner or a genuine administrator - this is the correct long-term fix and carries no functional side effects for legitimate users. Second, if code changes are not possible, restrict /admin/setImgFileName at the reverse proxy or application firewall so only trusted administrative source addresses or sessions that have passed an admin-role assertion can reach it; note that this breaks the endpoint for any legitimate non-administrative workflow and requires accurate network-allowlist maintenance. Third, where the deployment permits it, stop exposing raw imgname values in public image URLs and album listings so the key cannot be harvested as a targeting primitive; this requires changing URL generation and album templates and may break existing bookmarks, cached links, and external embeds, so plan a migration. Finally, monitor application logs for setImgFileName calls where the authenticated principal does not match the image owner, and alert on bursts of rename operations, as a detection control that does not prevent the write. Track the VulnCheck advisory (https://www.vulncheck.com/advisories/tbed-through-20240319-missing-authorization-via-setimgfilename-endpoint) for a patched release, and note that exploitation only alters image display-name metadata - there is no data exfiltration or availability impact, so emergency change procedures are not warranted.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-639, Authorization Bypass Through User-Controlled Key, in the Java-based Tbed image hosting application. The endpoint /admin/setImgFileName is implemented in src/main/java/cn/hellohao/controller/AdminController.java (lines 158-176) and performs its database write through a MyBatis statement defined in src/main/resources/mapper/ImgMapper.xml (lines 171-189). The operation accepts a caller-supplied imgname key and updates the associated image's display-name metadata, but the controller does not verify that the requesting principal owns or administers the record identified by that key, so the key itself becomes the authorization decision. The affected-component CPE cpe:2.3:a:hello-hao:tbed:*:*:*:*:*:*:*:* indicates all versions of Hello-hao's Tbed up to and including the 20240319 snapshot are treated as affected. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N, VI:L with no VC/VA and no subsequent-system impact) confirms this is a remote, low-privilege, low-integrity-only issue: network reach to the endpoint plus any authenticated account suffices, and no non-default configuration or victim interaction is required.
Know when Tbed gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Remote web endpoint (AV:N) with no special complexity (AC:L); requires any authenticated account (PR:L), no UI; only image-name metadata is altered, so I:L and C:N/A:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Tbed through 20240319 contains a missing authorization vulnerability that allows any authenticated user to rename other users' images through the /admin/setImgFileName endpoint. Attackers can supply a victim's imgname, exposed in public image URLs and album listings, to overwrite display names with attacker-chosen text attributed to the victim.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
EUVD-2026-102965
GHSA-rcr8-7p73-vw9w
NVD
CVE.org
EPSS
Exploit-DB