Arama; açıklama metninde, ürün ve üretici adlarında ve açık türlerinde (Türkçe ya da İngilizce, eksik yazımla da) yapılır.

CVE-2023-41330
knplabs snappy

Puan9.8 Kritik
CVSS 3.1
İstismar olasılığı (EPSS)2.3%
önümüzdeki 30 gün içinde
KategoriUzaktan kod çalıştırma ve enjeksiyon
Yayımlanma6 Eylül 2023
Son güncelleme: 17 Haziran 2026

Kısaca

Bu açık internet üzerinden, uzaktan, oturum açmadan, kullanıcının bir şey yapmasına gerek kalmadan istismar edilebilir.

Başarılı bir saldırıda ciddi etki: gizli bilgilerin okunması, verilerin değiştirilmesi, sistemin çökertilmesi ya da kullanılamaz hale gelmesi.

Açık türü: Güvenilmeyen verinin seri durumdan çıkarılması.

✨ Yapay zekâ yorumu

Kısa bir reklam izledikten sonra bu açığın sade bir dille yorumu gösterilir. Yapay zekâ hata yapabilir; kararlarınızı resmi kaynaklara göre verin.

Resmi açıklama (İngilizce)

knplabs/knp-snappy is a PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. ## Issue On March 17th the vulnerability CVE-2023-28115 was disclosed, allowing an attacker to gain remote code execution through PHAR deserialization. Version 1.4.2 added a check `if (\strpos($filename, 'phar://') === 0)` in the `prepareOutput` function to resolve this CVE, however if the user is able to control the second parameter of the `generateFromHtml()` function of Snappy, it will then be passed as the `$filename` parameter in the `prepareOutput()` function. In the original vulnerability, a file name with a `phar://` wrapper could be sent to the `fileExists()` function, equivalent to the `file_exists()` PHP function. This allowed users to trigger a deserialization on arbitrary PHAR files. To fix this issue, the string is now passed to the `strpos()` function and if it starts with `phar://`, an exception is raised. However, PHP wrappers being case insensitive, this patch can be bypassed using `PHAR://` instead of `phar://`. A successful exploitation of this vulnerability allows executing arbitrary code and accessing the underlying filesystem. The attacker must be able to upload a file and the server must be running a PHP version prior to 8. This issue has been addressed in commit `d3b742d61a` which has been included in version 1.4.3. Users are advised to upgrade. Users unable to upgrade should ensure that only trusted users may submit data to the `AbstractGenerator->generate(...)` function.

CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Açık türü: CWE-502 – Güvenilmeyen verinin seri durumdan çıkarılması

Etkilenen ürünler

ÜreticiÜrünSürümler
knplabssnappy<1.4.3

Kaynaklar

Aynı kategoriden son açıklar

  • CVE-2026-138421 Düşük 2
    A security vulnerability has been detected in youseries UReport up to 2.2.9. This affects the function saveReportFile of the file…
    Uzaktan kod çalıştırma ve enjeksiyon · 30 Kasım 2026
  • CVE-2026-138420 Düşük 2
    A weakness has been identified in youseries UReport up to 2.2.9. The impacted element is the function buildExceptionMessage of the file…
    Uzaktan kod çalıştırma ve enjeksiyon · 30 Kasım 2026
  • CVE-2026-138419 Düşük 2
    A security flaw has been discovered in youseries UReport up to 2.2.9. The affected element is the function buildTitle of the file HtmlPreviewServletAction.java of the component HTML Preview. The manipulation of the…
    Uzaktan kod çalıştırma ve enjeksiyon · 30 Kasım 2026
  • CVE-2026-138418 Düşük 2.1
    A vulnerability was identified in youseries UReport up to 2.2.9. Impacted is the function service of the file ureport2-console/src/main/java/com/bstek/ureport/console/UReportServlet.java of the component…
    Uzaktan kod çalıştırma ve enjeksiyon · 30 Kasım 2026
  • CVE-2026-133637 Puanlanmadı
    Improper neutralization of special elements used in an expression language statement ('Expression Language Injection') vulnerability in Apache Struts. If the application uses the Bean Validation plugin, a validation…
    Uzaktan kod çalıştırma ve enjeksiyon · 30 Kasım 2026
  • CVE-2026-81063 Düşük 2.5
    Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains an Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability. A low privileged local…
    Uzaktan kod çalıştırma ve enjeksiyon · 30 Kasım 2026