This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org

Difference between revisions of "RIA Security Smackdown"

From OWASP
Jump to: navigation, search
m (Fixed link to wisec.it)
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
Notes from the OWASP Washington chapter meeting where we discussed:
 
Notes from the OWASP Washington chapter meeting where we discussed:
  
* FLEX (Adobe) - development environment for Flash Apps
+
* Java Applet - very old technology, runs in sandbox
* Flash Studio for movies
+
* Flash 7 - old flash movie environment
 
+
* JFX (Sun Java) - New scripting language compiles to bytecode, runs via Java Web Start
* Java Applet
 
* Flash 7
 
* JFX (Sun Java)
 
 
* Silverlight (Microsoft) - .NET Applets that run inside the browser, no privileged code
 
* Silverlight (Microsoft) - .NET Applets that run inside the browser, no privileged code
 
* Google Gears - local storage component with JavaScript API (Same Origin all the way down)
 
* Google Gears - local storage component with JavaScript API (Same Origin all the way down)
 
* AIR (Adobe - formerly Apollo) - VM that runs Flash, Shockwave movies, ActionScript, JavaScript, FLV
 
* AIR (Adobe - formerly Apollo) - VM that runs Flash, Shockwave movies, ActionScript, JavaScript, FLV
  
==Threat Agents==
+
==Threat Agents to Consider==
 
 
* Threat from external attackers
 
* Threat from malicious developers (sandbox?)
 
  
 +
* Threat from external attackers against your desktop application
 +
* Threat from an attacker against back end systems
 +
* Threat from malicious developers
  
 
==References==
 
==References==
  
AIR - http://www.flashsec.org, http://www.wisec.it.en/Docs/flash_App_testing_Owasp07.swf
+
AIR - http://www.flashsec.org, http://www.wisec.it/en/Docs/flash_App_testing_Owasp07.swf
  
 
==Results==
 
==Results==
 
 
==Basic Problems==
 
  
 
Key
 
Key
* (A) - Allowed
+
* (Y) - Allowed by RIA framework
* (LD) - Limited by developer
+
* (LF) - Limited by framework (a built in limitation or control)
* (LU) - Limited by user
+
* (LSO) - Limited by same origin policy (special built in policy)
* (D) - Denied
+
* (LD) - Limited by developer (specified in a policy file like security.policy, jnlp, or crossdomain.xml)
 +
* (LU) - Limited by user (specified in a policy file)
 +
* (N) - Denied by RIA framework
  
 
+
{|class="wikitable sortable" style="text-align:left;" width="100%"
 
 
 
 
 
 
 
 
 
 
{|class="wikitable sortable" style="text-align: center;" width="100%"
 
 
|-
 
|-
 
! RIA Framework
 
! RIA Framework
Line 49: Line 39:
 
|-  
 
|-  
 
| '''Persistence''' - Does the RIA framework allow data to be persisted in the client?
 
| '''Persistence''' - Does the RIA framework allow data to be persisted in the client?
| A
+
| N
| A
+
| LF
| A
+
| LSO
| A
+
| LD
| A
+
| LU
| A
+
| Y
|-
 
| '''Roles''' - Does the RIA framework enable multiple roles to use the same client?
 
| A
 
| A
 
| A
 
| A
 
| A
 
| A
 
 
|-  
 
|-  
| '''Sharing''' - Does the RIA framework allow sharing of data?
+
| '''Sharing''' - Does the RIA framework allow uploading data?
| A
+
| LSO
| A
+
| LSO
| A
+
| Y
| A
+
| LD
| A
+
| LSO
| A
+
| Y
 
|-  
 
|-  
 
| '''Exchange''' - Does the RIA framework use data formats that scramble data and code (HTML, JSON)
 
| '''Exchange''' - Does the RIA framework use data formats that scramble data and code (HTML, JSON)
| A
+
| N
| A
+
| N
| A
+
| ?
| A
+
| LD
| A
+
| Y (XAML and PE)
| A
+
| Y
 
|-  
 
|-  
| '''Pipes''' - Does the RIA framework allow multiple applications to communicate with each other on the client?
+
| '''Pipes''' - Does the RIA framework allow multiple RIAs to communicate with each other on the client?
| A
+
| Y (LiveConnect)
| A
+
| N
| A
+
| N
| A
+
| ?
| A
+
| N
| A
+
| Y
 
|-  
 
|-  
 
| '''Files''' - Does the RIA framework have access to the local file system?
 
| '''Files''' - Does the RIA framework have access to the local file system?
| A
+
| N
| A
+
| N
| A
+
| N
| A
+
| LD
| A
+
| LU (IsoStore)
| A
+
| Y
 
|-  
 
|-  
 
| '''Sockets''' - Does the RIA framework have access to local network sockets?
 
| '''Sockets''' - Does the RIA framework have access to local network sockets?
| A
+
| LSO
| A
+
| LSO
| A
+
| LSO
| A
+
| LD
| A
+
| N (yet)
| A
+
| Y
 
|-  
 
|-  
 
| '''Windows''' - Does the RIA framework have the ability to create windows?
 
| '''Windows''' - Does the RIA framework have the ability to create windows?
| A
+
| LF
| A
+
| N
| A
+
| N
| A
+
| LD
| A
+
| N
| A
+
| Y
 
|-  
 
|-  
 
| '''Devices''' - Does the RIA framework have the ability to access local cameras and microphones?
 
| '''Devices''' - Does the RIA framework have the ability to access local cameras and microphones?
| A
+
| N
| A
+
| LF
| A
+
| N
| A
+
| LD
| A
+
| N
| A
+
| Y
 
|-  
 
|-  
 
| '''Native''' - Does the RIA framework have access to local native code or executables?
 
| '''Native''' - Does the RIA framework have access to local native code or executables?
| A
+
| N
| A
+
| N
| A
+
| N
| A
+
| LD
| A
+
| N
| A
+
| Y
 
|-  
 
|-  
 
| '''DOM''' - Does the RIA framework have access to the DOM?
 
| '''DOM''' - Does the RIA framework have access to the DOM?
| A
+
| Y
| A
+
| Y
| A
+
| Y
| A
+
| ?
| A
+
| Y
| A
+
| Y
 
|-  
 
|-  
 
| '''Controls''' - Does the RIA framework have access to other components within the DOM?
 
| '''Controls''' - Does the RIA framework have access to other components within the DOM?
| A
+
| N
| A
+
| Y
| A
+
| LSO
| A
+
| LD
| A
+
| ?
| A
+
| Y
 
|-  
 
|-  
 
| '''Self-Modify''' - Can an RIA modify the RIA framework?
 
| '''Self-Modify''' - Can an RIA modify the RIA framework?
| A
+
| N
| A
+
| N
| A
+
| ?
| A
+
| LD
| A
+
| N
| A
+
| Y
 
|-  
 
|-  
 
| '''DNS Pinning''' - Does the RIA framework protect against DNS pinning?
 
| '''DNS Pinning''' - Does the RIA framework protect against DNS pinning?
| A
+
| N
| A
+
| N
| A
+
| N
| A
+
| LD
| A
+
| N
| A
+
| N
 
|}
 
|}
  
  
 
__NOTOC__
 
__NOTOC__

Latest revision as of 15:11, 14 April 2008

Notes from the OWASP Washington chapter meeting where we discussed:

  • Java Applet - very old technology, runs in sandbox
  • Flash 7 - old flash movie environment
  • JFX (Sun Java) - New scripting language compiles to bytecode, runs via Java Web Start
  • Silverlight (Microsoft) - .NET Applets that run inside the browser, no privileged code
  • Google Gears - local storage component with JavaScript API (Same Origin all the way down)
  • AIR (Adobe - formerly Apollo) - VM that runs Flash, Shockwave movies, ActionScript, JavaScript, FLV

Threat Agents to Consider

  • Threat from external attackers against your desktop application
  • Threat from an attacker against back end systems
  • Threat from malicious developers

References

AIR - http://www.flashsec.org, http://www.wisec.it/en/Docs/flash_App_testing_Owasp07.swf

Results

Key

  • (Y) - Allowed by RIA framework
  • (LF) - Limited by framework (a built in limitation or control)
  • (LSO) - Limited by same origin policy (special built in policy)
  • (LD) - Limited by developer (specified in a policy file like security.policy, jnlp, or crossdomain.xml)
  • (LU) - Limited by user (specified in a policy file)
  • (N) - Denied by RIA framework
RIA Framework Java Applet Adobe Flash Google Gears Java FX (JFX) MS Silverlight Adobe AIR
Persistence - Does the RIA framework allow data to be persisted in the client? N LF LSO LD LU Y
Sharing - Does the RIA framework allow uploading data? LSO LSO Y LD LSO Y
Exchange - Does the RIA framework use data formats that scramble data and code (HTML, JSON) N N  ? LD Y (XAML and PE) Y
Pipes - Does the RIA framework allow multiple RIAs to communicate with each other on the client? Y (LiveConnect) N N  ? N Y
Files - Does the RIA framework have access to the local file system? N N N LD LU (IsoStore) Y
Sockets - Does the RIA framework have access to local network sockets? LSO LSO LSO LD N (yet) Y
Windows - Does the RIA framework have the ability to create windows? LF N N LD N Y
Devices - Does the RIA framework have the ability to access local cameras and microphones? N LF N LD N Y
Native - Does the RIA framework have access to local native code or executables? N N N LD N Y
DOM - Does the RIA framework have access to the DOM? Y Y Y  ? Y Y
Controls - Does the RIA framework have access to other components within the DOM? N Y LSO LD  ? Y
Self-Modify - Can an RIA modify the RIA framework? N N  ? LD N Y
DNS Pinning - Does the RIA framework protect against DNS pinning? N N N LD N N