GÜVENLİK İNCELEMESİSECURITY REVIEW

Bağımsız sızma testi öncesi iç incelemeInternal review before the independent penetration test

Tarih: 12 Kasım 2026Date: 12 November 2026 Kapsam: Veilo Gateway 1.0 adayı, Veilo Authenticator Enterprise 0.5Scope: Veilo Gateway 1.0 candidate, Veilo Authenticator Enterprise 0.5 Yapan: Veilo Güvenlik EkibiBy: Veilo Security Team
Bu bir iç incelemedir, bağımsız sızma testi değildir. Gateway 1.0 öncesinde bağımsız bir ekip tarafından test edilecek ve o rapor da burada yayımlanacak. Bu incelemeyi önce kendimiz, kaynak koduna tam erişimle yaptık; bağımsız ekip zamanını bizim bulmamız gerekenlere değil, bulamadıklarımıza harcasın diye. This is an internal review, not an independent penetration test. Gateway 1.0 will be tested by an independent team before release, and that report will be published here too. We did this pass first, with full access to the source, so the external testers spend their time on what we could not find rather than on what we should have.

SonuçResult

0
KritikCritical
4
YüksekHigh
4/4 düzeltildi4/4 fixed
7
OrtaMedium
7/7 düzeltildi7/7 fixed
9
DüşükLow
9/9 düzeltildi9/9 fixed

İncelemede bulunan ve ürünü etkileyen bulguların tamamı düzeltildi. Her düzeltme otomatik bir testle birlikte geldi ve ayrı bir test kurulumunda uçtan uca doğrulandı. Bulguların hiçbirinin canlı bir kurulumda kötüye kullanıldığına dair bir iz yok; Gateway henüz genel kullanıma açılmadı.Every finding of the review that affects the product is fixed. Each fix came with an automated test and was verified end to end on a separate test installation. There is no sign that any finding was exploited on a live installation; the Gateway is not yet generally available.

Kapsam ve yöntemScope and method

Yöntem: kaynak kodu incelemesi, hedefli testler ve yalnızca yerel bir test kurulumuna karşı aktif deneme. İnternete açık adresler yalnızca pasif olarak incelendi.Method: source review, targeted tests, and active testing against a local test installation only. Public endpoints were examined passively.

Bulgular ve düzeltmelerFindings and fixes

YüksekHigh

IDBulguFindingDüzeltmeFix
H1Kayıt sırasında QR koddaki token, telefon anahtarının güvenli donanımda olduğunu kanıtlamadan da geçerli kod üretebiliyordu.During enrolment, the token in the QR code could produce valid codes before the phone proved its key lives in secure hardware.Donanım seviyesi gereken token'lar, doğrulanmış onay gelene kadar kapalı kalıyor.Tokens that require hardware stay disabled until an attested confirmation succeeds.
H2Özel hazırlanmış bir yedek dosyası, geri yükleme sırasında kurulum dizini dışına dosya yazabiliyordu.A crafted backup archive could write files outside the installation directory during restore.Arşiv içeriği sıkı bir izin listesiyle denetleniyor; yollar yalnızca doğrulanmış adlardan oluşturuluyor.Archive contents are checked against a strict allow-list; paths are built only from validated names.
H3Servis parolaları başlangıçta komut satırı argümanı olarak geçiyor ve sunucudaki diğer kullanıcılara görünüyordu.Service passwords were passed as command-line arguments at start-up and visible to other users on the server.Gizli bilgiler süreç içinde dosyadan okunuyor; hiçbir komut satırında yer almıyor.Secrets are read from files inside the process; none appears on a command line.
H4Kurulum betiği sürüm imzasını doğrulamıyordu.The installer did not verify the release signature.Betik Veilo sürüm anahtarını içeriyor; imzası doğrulanmayan paketi kurmayı reddediyor.The installer carries the Veilo release key and refuses any package whose signature does not verify.

OrtaMedium

IDBulguFindingDüzeltmeFix
M1Çok kurumlu kurulumda bir RADIUS istemcisi yalnızca kendi kurumuna bağlı değildi; ret mesajları kullanıcının var olup olmadığını ele veriyordu.On a multi-organisation install, a RADIUS client was not bound to its own organisation, and reject messages revealed whether a user existed.Her RADIUS istemcisi kendi kurumuna bağlanabiliyor; her ret aynı nötr mesajı taşıyor.Each RADIUS client can be bound to its organisation; every reject carries the same neutral message.
M2Kullanılmış bir kayıt bileti yeniden gönderildiğinde kayıtlı token kapanıyordu.Replaying a used enrolment ticket disabled the enrolled token.Kullanılmış bilet yan etkisiz reddediliyor.A used ticket is refused with no side effects.
M3Kimliği doğrulanmamış istekler bir cihazın istek kotasını tüketip onu kilitleyebiliyordu.Unauthenticated requests could use up a device's request budget and lock it out.Cihaz kotasına yalnızca doğrulanmış istekler sayılıyor; hatalı denemelerin ayrı sınırı var.Only authenticated requests count against a device; failed attempts have their own limit.
M4Sunucudaki yerel bir süreç, sahte yönlendirme başlığıyla hız sınırının saydığı adresi değiştirebiliyordu.A local process on the server could change the address used for rate limits with a forged forwarding header.Yönlendirme başlıklarına yalnızca tanımlı vekil sunuculardan güveniliyor.Forwarding headers are trusted only from configured proxies.
M5Gateway dizin tablolarına veritabanı yönetici yetkisiyle erişiyordu.The Gateway reached its directory tables with database superuser rights.Yalnızca bu tablolara erişen, en az yetkili ayrı bir veritabanı rolü; mevcut kurulumlar otomatik taşınıyor.A separate least-privilege database role owns only those tables; existing installs are migrated automatically.
M6Derleme hattında enjeksiyona açık girdi, sabitlenmemiş bileşenler ve sürüm dışı derlemeleri imzalama riski vardı.The build pipeline had injectable inputs, unpinned components and could sign non-release builds.Girdiler güvenli aktarılıyor, bileşenler sabitlendi, yalnızca sürüm etiketleri korumalı bir ortamda imzalanıyor.Inputs are passed safely, components are pinned, only release tags are signed, in a protected environment.
M7Telefondaki Gateway cihaz anahtarı, telefon kilitliyken de onay imzalayabiliyordu.The phone's Gateway device key could sign approvals while the phone was locked.Yeni cihaz anahtarları yalnızca telefon kilidi açıkken çalışıyor (Enterprise 0.5.3) ve Gateway bunu doğrulamadan okuyup kaydediyor. Her onayı ayrıca biyometriye bağlamak Gateway 1.x'te planlı.New device keys work only while the phone is unlocked (Enterprise 0.5.3), and the Gateway reads and records this from the attestation. Binding each approval to a biometric check is planned for Gateway 1.x.

DüşükLow

IDBulguFindingDüzeltmeFix
L1Aynı onay isteğine eşzamanlı iki yanıt ikisi de kabul edilebiliyordu.Two simultaneous answers to one challenge could both be accepted.Yanıt sırasında kayıt kilitleniyor.The challenge is locked while it is answered.
L2Aralık dışı bir zaman damgası sunucu hatasına yol açıyordu.An out-of-range timestamp caused a server error.İstek temiz biçimde reddediliyor.The request is refused cleanly.
L3Sertifika uzantıları, o sertifikanın imzası doğrulanmadan okunuyordu.Certificate extensions were read before that certificate's signature was checked.Zincir kökten aşağı, önce imza sonra içerik sırasıyla doğrulanıyor.The chain is verified from the root down, signature before content.
L4Doğrulama ayrıştırıcısı standart dışı kodlamaları ve dışarıdan aktarılmış anahtarları kabul ediyordu.The attestation parser accepted non-canonical encodings and imported keys.Katı ayrıştırma; donanım seviyesi için anahtarın güvenli donanımda üretilmiş olması şart.Strict parsing; hardware levels require a key generated inside secure hardware.
L5İptal edilmiş bir cihaza onay isteği gönderilebiliyordu.A challenge could be sent to a revoked device.Reddediliyor.Refused.
L6İç hata metinleri API istemcilerine ulaşıyordu.Internal error text reached API clients.İstemci kısa bir hata kodu alıyor; ayrıntı sunucu kaydında.Clients get a short error code; details stay in the server log.
L7Docker'ın açtığı portlar UFW gibi sunucu güvenlik duvarlarını atlıyor; yöneticiler bunu beklemeyebilir.Docker-published ports bypass host firewalls such as UFW, which administrators may not expect.Kılavuzda filtreleme adımları; kurulum uyarı veriyor.Filtering steps documented; the installer warns.
L8Ad doğrulayıcıları satır sonu karakterini kabul ediyordu; bir güvenlik başlığı eksikti.Name validators accepted a trailing newline; a security header was missing.Doğrulayıcılar düzeltildi; tüm yanıtlarda nosniff.Validators fixed; nosniff on every response.
L9QR tarama ekranı ekran görüntüsünde ve son uygulamalar listesinde görünebiliyordu.The QR scanning screen could appear in screenshots and the recent-apps view.Uygulamanın geri kalanıyla aynı ekran koruması (Enterprise 0.5.3).Same screen protection as the rest of the app (Enterprise 0.5.3).

İnceleme sırasında eklenen sertleştirmelerHardening added during the review

Yük ve dayanıklılık testleriLoad and resilience tests

İncelemenin ardından Gateway, ayrı ve geçici bir kurulumda yük ve hata koşullarında test edildi.After the review, the Gateway was tested under load and failure conditions on a separate, throw-away installation.

TestTestSonuçResult
DİSK %95DISK 95%Tüm işlevler normal çalıştı.Everything worked normally. ✓
DİSK %100DISK 100%Sistem güvenli tarafta kaldı: hiçbir giriş yanlışlıkla kabul edilmedi, yazamadığı istekleri reddetti. Yer açılınca yeniden başlatma gerekmeden kendiliğinden toparlandı; veri kaybı ya da bozulması olmadı.The system failed closed: no sign-in was wrongly accepted; requests it could not record were refused. Once space was freed it recovered without a restart, with no data loss or corruption. ✓
YEDEKBACKUP100 kurum: yaklaşık 0,7 MB, 4 saniye. Yaklaşık 300 kurumluk bir kurulum yeni bir sunucuya geri yüklendi; tüm kayıtlar kaynakla birebir eşleşti.100 organisations: about 0.7 MB in 4 seconds. An installation with about 300 organisations was restored to a new server; every record matched the source. ✓
DENETİMAUDIT1 milyon olay kaydıyla filtreli sorgular 0,5 saniyenin altında.With 1 million events, filtered queries return in under 0.5 seconds. ✓
ANİ YÜKBURSTAynı anda başlatılan 500 girişin tamamı kabul edildi (rc1: 36). Paylaşımlı 4 vCPU'luk bir sunucuda, 2 çekirdek işçisiyle dakikada yaklaşık 45 giriş işlendi; yük sırasında telefon onaylarının hepsi başarılı oldu. Kapasiteyi doğrulama çekirdeği belirliyor; işçi sayısı artık ayarlanabiliyor ve kurulum rehberinde bir boyutlandırma tablosu var.All 500 sign-ins started at the same moment were accepted (rc1: 36). On a shared 4-vCPU server with 2 core workers, about 45 sign-ins per minute were processed, and every phone approval during the burst succeeded. Capacity is set by the verification core; its worker count is now configurable and the installation guide has a sizing table. ✓

Testlerin bulup düzelttikleriFound and fixed by these tests

Kapanan maddeClosed item

Çok sayıda cihazın aynı anda kaydında, doğrulama çekirdeği Gateway'de kaydı olmayan etkin token'lar bırakabiliyordu. Bu token'ların gizli anahtarı kimsede olmadığı için kullanılamazlar; yine de H1'in ilkesine aykırıydılar. Artık token seri numarasını Gateway seçiyor, yarım kalan kayıtlar geri alınıyor ve düzenli bir tarama kaydı olmayan token'ları devre dışı bırakıyor.When many devices enrol at once, the verification core could leave active tokens that have no Gateway record. Nobody holds their secret, so they cannot be used; they still went against the principle of H1. The Gateway now chooses the token serial, half-finished enrolments are rolled back, and a periodic sweep disables tokens with no record. rc3'TE DÜZELTİLDİFIXED IN rc3

DoğrulamaVerification

Her düzeltme bir regresyon testiyle geldi; doğrulama zinciriyle ilgili testlerin düzeltme olmadan başarısız olduğu ayrıca kontrol edildi. Gateway'in 265 testi ve yedekleme aracının testleri her değişiklikte otomatik çalışıyor. Gerçek cihazlardan alınmış on donanım doğrulama zinciri yeni, daha katı ayrıştırıcıyla yeniden doğrulandı.Every fix shipped with a regression test; the attestation tests were also checked to fail without the fix. The Gateway's 265 tests and the backup tool's tests run automatically on every change. Ten attestation chains from real devices were re-verified with the stricter parser.

Sırada ne varWhat comes next

Bu inceleme hakkında sorular ve güvenlik bildirimleri: partner@veilo.trQuestions about this review and security reports: partner@veilo.tr