Skip to Content
Hands-On Oracle Application Express Security
book

Hands-On Oracle Application Express Security

by Recx
April 2013
Intermediate to advanced
108 pages
3h 1m
English
Wiley
Content preview from Hands-On Oracle Application Express Security

Chapter 2

Cross-Site Scripting

This chapter deals with the most common vulnerability that we see in APEX applications. In our annual review of APEX applications (2011), we found that every single one has at least one instance of Cross-Site Scripting (XSS). In our experience, the PHP, .NET, and Java applications that our customers provide for security assessment also mostly suffer from Cross-Site Scripting issues, far in excess of any other class of vulnerability.

Modern browsers and web applications rely heavily on JavaScript to provide a rich user experience. In many cases, sites simply do not work without a JavaScript-capable browser, and the rise of Web 2.0 technologies means that JavaScript is now a critical part of web-based applications.

Cross-Site Scripting is an attack against web technologies where the JavaScript within a web application is specified not by the application developer, but instead by an external party (an attacker). By design, a website cannot read or access content from another site due to the browser’s same-origin policy; any JavaScript on www.attacker.com cannot read content or session information from www.target.com. However, if a Cross-Site Scripting vulnerability in the target allows some user-specified JavaScript to be executed within the context of that site, it becomes possible for the attacker to access and manipulate site content.

For example, if a target is vulnerable to Cross-Site Scripting it might be structured as follows (in pseudo-code): ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Expert Oracle Application Express Security

Expert Oracle Application Express Security

Scott Spendolini
Applied Oracle Security: Developing Secure Database and Middleware Environments

Applied Oracle Security: Developing Secure Database and Middleware Environments

David Knox, Scott Gaetjen, Hamza Jahangir, Tyler Muth, Patrick Sack, Richard Wark, Bryan Wise

Publisher Resources

ISBN: 9781118686133Purchase Link