phpBB Görsel Doğrulama Sistemi Kırılmıştır!!!

phpBB güvenliği.

phpBB Görsel Doğrulama Sistemi Kırılmıştır!!!

İleti sabri ünal 12.01.2007, 02:14

Breaking the phpBB CAPTCHA

This article has been originally published on the old phpBB.cc site on April 10, 2006. As of today, the phpBB 2.0.x visual confirmation remains the same.

The recently released phpBB version 2.0.20 comes with the “Visual Confirmation” enabled by default. Too little, too late. The phpBB CAPTCHA has been successfully broken. Moreover, it is unbearably easy to break. A small desktop application which demonstrates this vulnerability is presented below.

This article is not intended at encouraging spambot development. The described application or the underlying algorithm will not be offered for sale. The author merely hopes to raise the phpBB users’ and developers’ awareness of the need to replace the CAPTCHA with a better one ASAP. He has already been contacted by a member of the phpBB development team after the first draft has been published. The developer refused to identify him/herself, but promised that efforts of solving the problem are being made.

The author provides phpBB customization services. If you want to make your board more secure, you may send him an email.
Initial image to crack:

First, the path to the CAPTCHA image has to be specified. It typically looks like:

http://<domain><script_path> ... <id>

Depending on the cookie settings, it may be succeeded by an additional sid parameter.
Initial image to crack:

The phpBB script produces a Portable Network Graphics image. It performs no check whatsoever for repeated requests, so unlimited number of variations may be produced, allowing for elimination of ambiguous OCR results.
Step 1: Background cleanup

The first step of the algorithm eliminates the background noise, leaving distinct character shapes. This step is trivial due to the critically simple noise nature.
Step 2: Foreground enhancement

The second step allows for cleaner character images by running a 3×3 convolution on the intermideate image matrix.

If performance is critical, this step should be preceded by border detection. The particular order in which the steps are presented in this article has been chosen for better clarity.
Step 3: Border detection

In this step, a bounding box for each character is detected.

As it has been noted already, border detection prior to foreground enhancement would be more efficient.
Step 4: Font matching

Each of the sub-images extracted in the previous step is compared to well-known font images. A character corresponding to the best match is selected for each.
The string is JGRP1O

The algorithm successfully recognizes most characters. One variation may occasionally mistake S for B, another 3 for 8. Combining the two variations, however, eliminates this problem.

As noted previously, unlimited queries with the same id may be made, producing different images for the same string. In addition, two retries are allowed. Repeated queries combined with retries make recognition mistakes negligible.

Resim
Mutluyum, biraz komedi takılıyorum! sakın kızmayın yakında geçer, sebebini ben de bilmiyorum! yeni bir aşk da bulmuş değilim!
Kullanıcı avatarı
sabri ünal
Üye
Üye
 
İleti: 1325
Kayıt: 27.10.2005, 15:49
Konum: İstanbul

İleti

ALEXIS
12.01.2007, 19:17

Ne diyor orda ?
Kullanıcı avatarı
ALEXIS
Site Yöneticisi
Site Yöneticisi
 
İleti: 2563
Kayıt: 30.06.2005, 09:08

İleti BaRCeLoNa 12.01.2007, 22:35

benim anladığım kadarıyla bi sistemde :) background u beyaz yapıo ( temizliyor ) sonra ortadaki resmi ( harfleri ) renklerini netleştiriyor , sonra kırmızı dolgu yapıyor, sonra onları tek tek seçiyor sonrada programın içinde olan bir şablon var sanırım onunla harfleri eşleştiriyor ... +

benim fikrim komik gelebilir :) arka plan ilk resimde karıncalı iken harfler siyah yerine beyaz olsa programın algılayabileceği bi harf kalmaz bir 2. fikrim eğer tek dolgu rengi varsa ( kırmızı ) harfleri kırmızı yaparsak yine aynı sonuca ulaşabiliriz ( tanımlanamama ) denemekte yarar var :)
barcelona tema v 1.0 %40 [ l l l l l l l l l ]
http://www.forumuni.com
Kullanıcı avatarı
BaRCeLoNa
Üye
Üye
 
İleti: 271
Kayıt: 16.05.2006, 23:26
Konum: İzmir

İleti

ALEXIS
12.01.2007, 23:35

Bence, teoride, gözün okuduğu herşeyi botlar okuyabilir.
Kullanıcı avatarı
ALEXIS
Site Yöneticisi
Site Yöneticisi
 
İleti: 2563
Kayıt: 30.06.2005, 09:08

İleti Cybernet 18.01.2007, 19:27

bunun için en iyi çözüm renkli arkaplandır. bunuda trubar ile yapabilirsiniz. phpbbhacks.com adresinde bulabilirsiniz. yada programnlama bilginiz varsa kayıt formunu kendinize göre yeniden yazınız. sadece sizin bildiğiniz kod sadece size açık yaratır. ve $_GET fonksiyonu yerine $_POST fonksiyonunu kullanarak kodunuzun içine gizli bir veride yerleştirdiğinizde (örneğin site adresi yani referer örneğini bir değişkene atayıp gizli session yöntemiyle sadece sizin site kayit formunda taşıttığınızda ve eski phpbb register kodlarını ortadan kaldırdığınızda botların sisteminize otomatik kayıt işlemini devre dışı bırakabilirsiniz.

unutmadan isteyen kişilere böyle bir sistem yazabilirim sadece kendilerine ait başka bir benzerinin başkasında olmayan bir program.
Kullanıcı avatarı
Cybernet
Üye
Üye
 
İleti: 44
Kayıt: 20.01.2006, 21:31
Konum: Rize


Güvenlik



Kimler çevrimiçi

Bu forumu görüntüleyenler: Kayıtlı kullanıcı yok ve 0 misafir

cron