New vulnerabilities in CapCC for WordPress

Type securityvulns
Reporter Securityvulns
Modified 2008-12-15T00:00:00


Hello 3APA3A!

I'm informing you about new vulnerabilities in WordPress plugin CapCC (

These are Insufficient Anti-automation, Cross-Site Request Forgery and SQL Injection vulnerabilities.

Insufficient Anti-automation:

This captcha vulnerable to half-automated method. Which I described at my site ( and which is low risk. - for every request new captcha's image-code pair is required.

Cross-Site Request Forgery:

Plugin's option page (http://site/wp-admin/plugins.php?page=capcc-config) is vulnerable for CSRF attack. Which can be used for making attacks for using of SQL Injection and Full path disclosure and Cross-Site Scripting ( vulnerabilities, and also for making possibility of conducting full automated Insufficient Anti-automation attacks.

CSRF + Insufficient Anti-automation:

Because this captcha is vulnerable to SQL Injection which is making via Cross-Site Request Forgery attack, this allows full automated captcha bypass. It's doing via joint CSRF + Insufficient Anti-automation attack, which allows using of the same captcha's image-code pair all the time (lifetime of every image is set in captcha's options, by default it's 24 hours, but this also can be changed via CSRF). - first make CSRF attack. - then use the same captcha's image-code pair for all comments.

SQL Injection:

This SQL Injection vulnerability is an example of Persistent SQL Injection. It's first Persistent SQLi vulnerability which I found and the only one which I know. So with this hole I present new type of SQLi vulnerabilities.

DoS attack via SQL Injection. Attack occurs during requests to the script itself or to page with captcha. So while visiting of the site, it (via captcha) will be overloading itself.

Determining of a password via SQL Injection. It's Blind SQL Injection. If script (http://site/wp-content/plugins/capcc/capcc.php?r) shows “Expired.” than false, if “Error” than true. To determine a password it's needed to send multiple CSRF requests, so it'll take a long time. And so making first SQL Injection attack (for single request), for conducting DoS attack, will be much easier.

Vulnerable is version CapCC 1.0.

Best wishes & regards, MustLive Administrator of Websecurity web site