CVE-2021-35395
Kritik CISA KEV: Aktif İstismarTeknik Veri (Otomatik)
- CVSS Skoru
- 9.8
- EPSS
- 98.1%
- CWE
- NVD-CWE-Other
- KEV Durumu
- Evet
Yayım tarihi: 16 Ağustos 2021 · CISA KEV son iyileştirme tarihi: 17 Kasım 2021
Etkilenen: realtek rtl819x_jungle_software_development_kit
Realtek Jungle SDK sürüm v2.x'den v3.4.14B'ye kadar, erişim noktasını yapılandırmak için kullanılan bir yönetim arabirimi sunan bir HTTP web sunucusu sağlar. Bu yönetim arabiriminin iki sürümü vardır: biri Go-Ahead adlı webs ve diğeri Boa adlı boa. İkisi de bu zafiyetlerden etkilenmektedir. Özellikle, bu ikili dosyalar aşağıdaki sorunlara karşı savunmasızdır: - formRebootCheck'te submit-url parametresinin güvenli olmayan kopyalanması nedeniyle yığın tampon taşması - formWsc'de submit-url parametresinin güvenli olmayan kopyalanması nedeniyle yığın tampon taşması - formWlanMultipleAP'de submit-url parametresinin güvenli olmayan kopyalanması nedeniyle yığın tampon taşması - formWlSiteSurvey'de ifname parametresinin güvenli olmayan kopyalanması nedeniyle yığın tampon taşması - formStaticDHCP'de hostname parametresinin güvenli olmayan kopyalanması nedeniyle yığın tampon taşması - formWsc'de 'peerPin' parametresinin güvenli olmayan kopyalanması nedeniyle yığın tampon taşması - formSysCmd'de sysCmd parametresiyle keyfi komut çalıştırma - formWsc'de 'peerPin' parametresiyle keyfi komut enjeksiyonu Tanımlanan sorunların sömürülmesi, son satıcı/üreticinin Realtek SDK web sunucusuyla ne yaptığı temelinde farklılık gösterecektir. Bazı satıcılar bunu olduğu gibi kullanırken, diğerleri kendi kimlik doğrulama uygulamalarını ekler, bazıları sunucudaki tüm özellikleri korur, bazıları bazılarını kaldırır, bazıları kendi özelliklerini ekler. Ancak, Realtek SDK uygulamasının güvenli olmayan çağrılarla dolu olması ve geliştiricilerin bu örnekleri kendi özel kodlarında yeniden kullanma eğiliminde olması nedeniyle, Realtek SDK web sunucusuna dayalı herhangi bir ikili dosya, muhtemelen Realtek'in kendi sorunlarının yanı sıra kendi sorunlarına sahip olacaktır (eğer korunursa). Bu sorunların başarılı bir şekilde sömürülmesi, uzaktan saldırganların cihaza keyfi kod çalıştırma yeteneği kazanmasına izin verir.
Orijinal açıklama (İngilizce)
Realtek Jungle SDK version v2.x up to v3.4.14B provides an HTTP web server exposing a management interface that can be used to configure the access point. Two versions of this management interface exists: one based on Go-Ahead named webs and another based on Boa named boa. Both of them are affected by these vulnerabilities. Specifically, these binaries are vulnerable to the following issues: - stack buffer overflow in formRebootCheck due to unsafe copy of submit-url parameter - stack buffer overflow in formWsc due to unsafe copy of submit-url parameter - stack buffer overflow in formWlanMultipleAP due to unsafe copy of submit-url parameter - stack buffer overflow in formWlSiteSurvey due to unsafe copy of ifname parameter - stack buffer overflow in formStaticDHCP due to unsafe copy of hostname parameter - stack buffer overflow in formWsc due to unsafe copy of 'peerPin' parameter - arbitrary command execution in formSysCmd via the sysCmd parameter - arbitrary command injection in formWsc via the 'peerPin' parameter Exploitability of identified issues will differ based on what the end vendor/manufacturer did with the Realtek SDK webserver. Some vendors use it as-is, others add their own authentication implementation, some kept all the features from the server, some remove some of them, some inserted their own set of features. However, given that Realtek SDK implementation is full of insecure calls and that developers tends to re-use those examples in their custom code, any binary based on Realtek SDK webserver will probably contains its own set of issues on top of the Realtek ones (if kept). Successful exploitation of these issues allows remote attackers to gain arbitrary code execution on the device.
Referanslar
- https://www.iot-inspector.com/blog/advisory-multiple-issues-realtek-sdk-iot-supply-chain
- https://www.realtek.com/en/cu-1-en/cu-1-taiwan-en
- https://www.realtek.com/images/safe-report/Realtek_APRouter_SDK_Advisory-CVE-2021-35392_35395.pdf
- https://www.iot-inspector.com/blog/advisory-multiple-issues-realtek-sdk-iot-supply-chain
- https://www.realtek.com/en/cu-1-en/cu-1-taiwan-en
- https://www.realtek.com/images/safe-report/Realtek_APRouter_SDK_Advisory-CVE-2021-35392_35395.pdf
Bu CVE için henüz editoryal inceleme yapılmadı. Sadece otomatik teknik veri gösteriliyor.