Attachment disclosure and tampering via zeroed umask
Published May 31, 2025 · Updated Jun 2, 2025
Insecure file permissions in django-helpdesk before 1.0.0 allow local users to read or modify ticket attachment data. The attachment_path logic in models.py calls os.umask(0) before creating attachment directories, leaving them mode 0777 and changing the process-wide mask for later files and directories. Any local account able to reach those filesystem paths can read or alter exposed attachment content without helpdesk authorization.
Summary
What happened
Insecure file permissions in django-helpdesk before 1.0.0 allow local users to read or modify ticket attachment data. The attachment_path logic in models.py calls os.umask(0) before creating attachment directories, leaving them mode 0777 and changing the process-wide mask for later files and directories. Any local account able to reach those filesystem paths can read or alter exposed attachment content without helpdesk authorization.
The record
- CVE
- CVE-2018-25111
- Published
- May 31, 2025
- Updated
- Jun 2, 2025
- Vendor
- django-helpdesk
- Product
- django-helpdesk
- Classifications
- CWE-277, T1005
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 31, 2025CVE publishedPublication date reported by the CVE source.
- Jun 2, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <1.0.0
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- Attachment-permission proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo