Trustwave's 2024 Retail Report Series Highlights Alarming E-Commerce Threats and Growing Fraud Against Retailers. Learn More

Trustwave's 2024 Retail Report Series Highlights Alarming E-Commerce Threats and Growing Fraud Against Retailers. Learn More

Services
Managed Detection & Response

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

Co-Managed SOC (SIEM)

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

Advisory & Diagnostics

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

Penetration Testing

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

Database Security

Prevent unauthorized access and exceed compliance requirements.

Email Security

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

Digital Forensics & Incident Response

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

Firewall & Technology Management

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

Solutions
BY TOPIC
Microsoft Security
Unlock the full power of Microsoft Security
Offensive Security
Solutions to maximize your security ROI
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

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.

 

 

ABOUT TRUSTWAVE

Trustwave is a globally recognized cybersecurity leader that reduces cyber risk and fortifies organizations against disruptive and damaging cyber threats. Our comprehensive offensive and defensive cybersecurity portfolio detects what others cannot, responds with greater speed and effectiveness, optimizes client investment, and improves security resilience. Learn more about us.

Latest Intelligence

Discover how our specialists can tailor a security program to fit the needs of
your organization.

Request a Demo