LevelBlue Completes Acquisition of Cybereason. Learn more

LevelBlue Completes Acquisition of Cybereason. Learn more

Services
Cyber Advisory
Managed Cloud Security
Data Security
Manage Detection & Response
Email Security
Managed Network Infrastructure Security
Exposure Management
Security Operations Platforms
Incident Readiness & Response
SpiderLabs Threat Intelligence
Solutions
BY TOPIC
Offensive Security
Solutions to maximize your security ROI
Operational Technology
End-to-end OT security
Microsoft Security
Unlock the full power of Microsoft Security
Securing the IoT Landscape
Test, monitor and secure network objects
Why LevelBlue
About Us
Awards and Accolades
LevelBlue SpiderLabs
LevelBlue Security Operations Platforms
Security Colony
Partners
Microsoft
Unlock the full power of Microsoft Security
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings

[Honeypot Alert] Active Probes for Ruby on Rails XML Vulns

In a previous blog post, I outlined some ModSecurity defenses to help protect Ruby on Rails users from the XML parsing vulnerabilities. Hopefully you have had a chance to update RoR for your site. If not, you might want to stop what you are doing and fix it now... We identified a few attack probes on our WASC Distributed Web Honeypot Project sensors recently looking for this vuln.

Here are some screenshots taken from our central AuditConsole host that is using the ModSecurity Audit log data:

Initial String Testing:

10263_8095d32f-b523-4433-b3dc-b0a89c034e71

The attacker is sending a sample testing string value of "hello".

Testing for YAML parsing vulnerabilities 1:

8735_373a9b4e-e983-4038-be58-1cebbb2e922a

Attacker then sends the YAML payload with some ruby exploit code however the object is incomplete.

Testing for YAML parsing vulnerabilities 2:

11567_bf77fb6e-5211-4c8f-8ca4-86cd9e745256

In this final payload, the attacker sends the YAML payload with the ruby code to execute the local time.

Nmap NSE Script

A quick search for those attack payloads turned up a new Nmap NSE script on GitHub called http-rails-xml-parser.nse:

9371_56462208-ee14-44ec-915b-bb9fbc9d6dae

So we have our tool identified. This script doesn't exploit the vulnerabilty but does identify vulnerable hosts. Bottom line is that scripts/tools are out there now and actively scanning the web-o-sphere for vulnerable sites. Better patch/upgrade ASAP....

 

 

ABOUT LEVELBLUE

LevelBlue 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