Trustwave Unveils New Offerings to Maximize Value of Microsoft Security Investments. Learn More

Trustwave Unveils New Offerings to Maximize Value of Microsoft Security Investments. Learn More

Services
Capture
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

twi-managed-portal-color
Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

twi-briefcase-color-svg
Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

tw-laptop-data
Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

twi-database-color-svg
Database Security

Prevent unauthorized access and exceed compliance requirements.

twi-email-color-svg
Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

tw-officer
Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

tw-network
Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Offensive Security
Solutions to maximize your security ROI
Microsoft Exchange Server Attacks
Stay protected against emerging threats
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats
SpiderLabs Blog

Using Mobile Applications for attacking Web Applications

This simple blog post was motivated by my desire to look at some mobile applications that I happen to use. I did not choose a specific methodology for testing mobile applications. What I did was to use some of my knowledge in testing web applications in general.

To my pleasant surprise I got results that made​​me happy, or not.

01 - Catalog Application.

Starting my tests, on the first application I noticed the web server authentication credentials are simply sent in plain text using a POST method.

8035_13f4da49-c5ab-45db-ab31-8b0ca8aecdbb

Most of these mobile applications are just simple frontends for web services.

This behavior has been confirmed in all tested applications.

Some examples.

02 – Auction Application

9287_523d801c-7983-4bbc-811f-2f24dfff19f4

Let's start intercepting the requests of the mobile application and doing a simple SQL Injection test:

9447_5a292ec0-4608-4474-bcbc-695b3c34eab6

In this specific case it was possible to notice that the application consumed by Mobile Application is vulnerable to SQL Injection attacks.

So, one would ask, should I be attacking a Web Application or the Mobile Application?

The answer for this question is easy, go for the Web Application.

Extracting information's via SQL Injection:

11482_bb437c77-306b-4db8-8ad6-49d3e88011b3

7666_02c91303-6267-4cbe-851b-c849eea66dcc

9789_6c889e5c-66ab-4aed-ae97-d1f3fffcff87

12831_fb418f14-1d4b-4ced-9e7b-e6f97f8529e8

After that, I'm hungry… and I love sandwich!!

03 – Fast-food Delivery Application

Ohhh no… another application that my credential in being sent in plain text.

7785_08847592-6d4b-4ee7-b173-847f73255b10

Conclusion

Because it is a Mobile Application developers might before getting the basics of security.

If your Mobile Application is a simple frontend the same concepts of web security must be considered. Think about it and check some of the following references for security best practices:

OWASPDevelopment Guide.

OWASP Transport Layer Protection.

OWASP SSL Best Practices.

 

 

Latest SpiderLabs Blogs

Search & Spoof: Abuse of Windows Search to Redirect to Malware

Trustwave SpiderLabs has detected a sophisticated malware campaign that leverages the Windows search functionality embedded in HTML code to deploy malware. We found the threat actors utilizing a...

Read More

The Sentinel’s Watch: Building a Security Reporting Framework

Imagine being on shift as the guard of a fortress. Your job is to identify threats as they approach the perimeter. The more methods you have for detecting those threats, the better your chances of...

Read More

Fake Advanced IP Scanner Installer Delivers Dangerous CobaltStrike Backdoor

During a recent client investigation, Trustwave SpiderLabs found a malicious version of the Advanced IP Scanner installer, which contained a backdoored DLL module. Our client had been searching for...

Read More