Trustwave SpiderLabs Uncovers Ov3r_Stealer Malware Spread via Phishing and Facebook Advertising. Learn More

Trustwave SpiderLabs Uncovers Ov3r_Stealer Malware Spread via Phishing and Facebook Advertising. Learn More

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.

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
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

Is Oracle Application Server End-of-Life?

I was asked recently to review a web server running Oracle Application Server. The scope was quite specific, where the customer wanted a special focus on this area. In this case they wanted to knowhow I tested it, what tools I used, the results of the test, and also somewhat unusually, the source code I used to test.

Now we all use different tools to get the job done. The majority of tools we use at SpiderLabs are either Open Source or written by ourselves for bespoke testing. So when a customer requests the code used to test a certain aspect of their site, I could have commonly just pointed them to the download page of some of the open source tools we endorse. However, in this case I was able to provide him with some custom code I threw together for his environment.

So, every pentester's repertoire should include the generation of scripts or snippets to perform certain tasks. In this example, the easiest and simplest method involved writing a simple bash script, with the help of curl, to simply look for HTTP error codes returned with the list sent.

The script looks for default directories in Oracle Application Server and is simple, quick and effective. I've provided a short list in the script as a sample.


# Script to enumerate Oracle Application Server



###### List of URLs to check ##########














































































if [ $# -ne "$ARGS" ]; then

printf "Usage: `basename $0` URL e.g.https:\\ \n"

echo "Detects default config of Oracle Application Server"

exit 0



# Test HTTP codes, 200 OK


echo ""

echo "Checking for default Oracle Application Server URLs...."

echo ""

for i in $OAS


echo -n "Testing $HOST$i - "

curl --insecure --silent --output /dev/null --write-out "%{http_code}\n" $HOST$i


#### Enumerate showenv info #####


echo "==============================================="

curl --insecure --silent $HOST/reports/rwservlet/showenv|grep -v \<|grep [a-zA-Z0-9]|sed -e 's/^\s*//'

What worried me was the amount of HTTP 200 codes I was getting back from my quick script.

I've probably seen weak Oracle Application server configurations a couple of times this year (normally 10gR2) running on production systems. As a result, I was able to access reports or information that should not have been publicly accessible.

So, a couple of things about this upset me:

  1. Why do companies run old non-supported software on their production systems? In the case of Oracle 10gR2, Oracle stopped supporting it in December 2011. Aren't production systems important and, well, don't they need active support or to at least run supportable code?
  2. Why do companies still run old software with old vulnerabilities and weak configurations? In the websites I tested, the present installations had been around for a few years. This means the same risks would have been present for that amount of time.

Given that we still see old vulnerabilities on production systems on a relatively regular basis, companies need to take action:

  1. Check software versions and regularly check for support or updates
  2. If the software will soon approach end-of-life, take steps to upgrade at earliest convenience
  3. Make sure configurations are hardened. In this case, see
  4. Get configurations tested to confirm their security

The above steps seem obvious to most and can be used for almost any software used, but it is always a surprise to find out how often they aren't followed.

So, is Oracle Application Server end-of-life? Well….I guess the best thing to do is follow step 1 ( find Oracle's support policy on the product. Completing steps 2 through 4 will become easier to take once you know.

But as many of us in the industry know, sometimes it's necessary to state the obvious, especially where security is concerned.

Latest SpiderLabs Blogs

Welcome to Adventures in Cybersecurity: The Defender Series

I’m happy to say I’m done chasing Microsoft certifications (AZ104/AZ500/SC100), and as a result, I’ve had the time to put some effort into a blog series that hopefully will entertain and inform you...

Read More

Trustwave SpiderLabs: Insights and Solutions to Defend Educational Institutions Against Cyber Threats

Security teams responsible for defending educational institutions at higher education and primary school levels often find themselves facing harsh lessons from threat actors who exploit the numerous...

Read More

Breakdown of Tycoon Phishing-as-a-Service System

Just weeks after Trustwave SpiderLabs reported on the Greatness phishing-as-a-service (PaaS) framework, SpiderLabs’ Email Security team is tracking another PaaS called Tycoon Group.

Read More