[M-4] Internal error details leaked to clients via reason: inspect(reason) #16
Labels
No labels
architecture
code-quality
correctness
critical
docs
high
low
medium
ops
performance
privacy
security
tests
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
antrapol/CA-MDID-eMudhra#16
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Finding
Several response paths include
reason: inspect(reason), which can carry Mnesia abort reasons, SOAP internals and file paths (e.g.{:private_key_read_failed, path, reason}).Evidence
lib/mdid_ws_web/controllers/cert_management_controller.ex:33, 38, 66, 71, 119, 164, 322, 348Impact
Information disclosure useful to attackers (internal paths, state, library internals).
Fix
Line numbers refer to the initial import commit
282cb11. Source: comprehensive audit, 2026-11-12 (first review of this codebase).