CVE-2022-25275
Last modified
CVE-2022-25275 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. In some situations, the Image module does not correctly check access to image files not stored in the standard public files directory when generating derivative images using the image styles system. Access to a non-public file is checked only if it is stored in the "private" file system. EPSS estimates a 0.67% chance of exploitation in the next 30 days.
Description
In some situations, the Image module does not correctly check access to image files not stored in the standard public files directory when generating derivative images using the image styles system. Access to a non-public file is checked only if it is stored in the "private" file system. However, some contributed modules provide additional file systems, or schemes, which may lead to this vulnerability. This vulnerability is mitigated by the fact that it only applies when the site sets (Drupal 9) $config['image.settings']['allow_insecure_derivatives'] or (Drupal 7) $conf['image_allow_insecure_derivatives'] to TRUE. The recommended and default setting is FALSE, and Drupal core does not provide a way to change that in the admin UI. Some sites may require configuration changes following this security release. Review the release notes for your Drupal version if you have issues accessing files or image styles after updating.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Drupal | Drupal | >= 7.0, < 7.91 |
| Drupal | Drupal | >= 8.0.0, < 9.3.19 |
| Drupal | Drupal | >= 9.4.0, < 9.4.3 |
References
- https://www.drupal.org/sa-core-2022-012Vendor Advisory
- https://www.drupal.org/sa-core-2022-012Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-25275?
How severe is CVE-2022-25275?
How do I fix CVE-2022-25275?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-25269Passwork On-Premise Edition before 4.6.13 has multiple XSS i…6.1
- CVE-2022-2527An issue in Incident Timelines has been discovered in GitLab…8
- CVE-2022-25270The Quick Edit module does not properly check entity access …6.5
- CVE-2022-25271Drupal core's form API has a vulnerability where certain con…7.5
- CVE-2022-25273Drupal core's form API has a vulnerability where certain con…7.5
- CVE-2022-25274Drupal 9.3 implemented a generic entity access API for entit…5.4
- CVE-2022-25276The Media oEmbed iframe route does not properly validate the…6.1
- CVE-2022-25277Drupal core sanitizes filenames with dangerous extensions up…7.2
- CVE-2022-25278Under certain circumstances, the Drupal core form API evalua…6.5
- CVE-2022-2528In affected versions of Octopus Deploy it is possible to upl…6.5
- CVE-2022-2529sflow decode package does not employ sufficient packet sanit…7.5
- CVE-2022-25290WatchGuard Firebox and XTM appliances allow an authenticated…6.5
Are you affected by CVE-2022-25275?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
