CVE-2025-24337 Insecure default config access in WriteFreely
Local attackers can read the config.ini file to discover MySQL database credentials in WriteFreely installations.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-24337?
CVE-2025-24337 is a high-severity vulnerability in Musing Studio WriteFreely, published on 20 Jan 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
WriteFreely through 0.15.1, when MySQL is used, allows local users to discover credentials by reading config.ini.
Weakness: CWE-281
Which versions are affected by CVE-2025-24337?
3 open source packages ship an affected version, including github.com/writefreely/writefreely.
| Package | Affected | Fixed in |
|---|---|---|
github.com/writefreely/writefreely Go | All versions | None |
github.com/writefreely/writefreely Go | All versions to 0.15.1 | None |
github.com/writefreely/writefreely Go | All versions to 0.15.1 | None |
How do I fix CVE-2025-24337?
Upgrade to a fixed version.
Is CVE-2025-24337 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-24337 exists.
Sources
Also known as GHSA-3qc3-mx6x-267h, GO-2025-3410.