ZAP Scanning Report

Summary of Alerts

Risk LevelNumber of Alerts
High4
Medium3
Low6
Informational0

Alert Detail

High (Medium)SQL Injection
Description

SQL injection may be possible.

URLhttp://dev.investorstatelawguide.com/Home/LogPageCountForNotepedUserSession?query=query+AND+1%3D1
MethodGET
Parameterquery
Attackquery AND 1=1
URLhttp://dev.investorstatelawguide.com/User/disputedirectory/DisputeDocument?DocLanguage_English=1&DocumentLanguage=E&ID=10&aprule=&aprule_arbrule_lcia_1998=1&aprule_icsid_addfac_1978=1&aprule_icsid_addfac_2003=1&aprule_icsid_addfac_2006=1&aprule_icsid_all=1&aprule_icsid_arbrule_1968=1&aprule_icsid_arbrule_1984=1&aprule_icsid_arbrule_2003=1&aprule_icsid_arbrule_2006=1&aprule_scc_arbrule_2007=1&aprule_scoc_arbrule_1988=1&aprule_scoc_arbrule_1999=1&aprule_scoc_arbrule_2010=1&aprule_uni_arbrule_1976=1&aprule_uni_arbrule_2010=1&cat=&defendingCountrydisp=0&dispState=&disp_treaty=&doccat_1=1&doccat_12=1&doccat_13=1&doccat_15=1&doccat_16=1&doccat_17=1&doccat_18=1&doccat_2=1&doccat_21=1&doccat_22=1&doccat_23=1&doccat_3=1&doccat_4=1&doccat_5=1&doccat_6=1&doccat_7=1&doccat_8=1&doccat_all=1&hidAccordionIndex=&index=&mainfilter=&refresh=2&search=Michael+Ballantine+and+Lisa+Ballantine+v.+Dominican+Republic%2C+PCA+Case+No.+2016-17%2C+Procedural+Order+No.+11%2C+7+June+2018&toc=disputedirectory&treaty_id=2-2&treatycat=
MethodGET
Parametertreaty_id
Attack2-2
URLhttp://dev.investorstatelawguide.com/User/disputedirectory/DisputeDocument?DocLanguage_Spanish=1&DocumentLanguage=S&ID=10&aprule=&aprule_arbrule_lcia_1998=1&aprule_icsid_addfac_1978=1&aprule_icsid_addfac_2003=1&aprule_icsid_addfac_2006=1&aprule_icsid_all=1&aprule_icsid_arbrule_1968=1&aprule_icsid_arbrule_1984=1&aprule_icsid_arbrule_2003=1&aprule_icsid_arbrule_2006=1&aprule_scc_arbrule_2007=1&aprule_scoc_arbrule_1988=1&aprule_scoc_arbrule_1999=1&aprule_scoc_arbrule_2010=1&aprule_uni_arbrule_1976=1&aprule_uni_arbrule_2010=1&cat=&defendingCountrydisp=0&dispState=&disp_treaty=&doccat_1=1&doccat_12=1&doccat_13=1&doccat_15=1&doccat_16=1&doccat_17=1&doccat_18=1&doccat_2=1&doccat_21=1&doccat_22=1&doccat_23=1&doccat_3=1&doccat_4=1&doccat_5=1&doccat_6=1&doccat_7=1&doccat_8=1&doccat_all=1&hidAccordionIndex=&index=&mainfilter=&refresh=4&search=Michael+Ballantine+and+Lisa+Ballantine+v.+Dominican+Republic%2C+PCA+Case+No.+2016-17%2C+Procedural+Order+No.+11%2C+7+June+2018&toc=disputedirectory&treaty_id=2-2&treatycat=
MethodGET
Parametertreaty_id
Attack2-2
URLhttp://dev.investorstatelawguide.com/User/disputedirectory/DisputeDocument?DocLanguage_Spanish=1&DocumentLanguage=S&ID=10&aprule=&aprule_arbrule_lcia_1998=1&aprule_icsid_addfac_1978=1&aprule_icsid_addfac_2003=1&aprule_icsid_addfac_2006=1&aprule_icsid_all=1&aprule_icsid_arbrule_1968=1&aprule_icsid_arbrule_1984=1&aprule_icsid_arbrule_2003=1&aprule_icsid_arbrule_2006=1&aprule_scc_arbrule_2007=1&aprule_scoc_arbrule_1988=1&aprule_scoc_arbrule_1999=1&aprule_scoc_arbrule_2010=1&aprule_uni_arbrule_1976=1&aprule_uni_arbrule_2010=1&cat=&defendingCountrydisp=2-2&dispState=&disp_treaty=&doccat_1=1&doccat_12=1&doccat_13=1&doccat_15=1&doccat_16=1&doccat_17=1&doccat_18=1&doccat_2=1&doccat_21=1&doccat_22=1&doccat_23=1&doccat_3=1&doccat_4=1&doccat_5=1&doccat_6=1&doccat_7=1&doccat_8=1&doccat_all=1&hidAccordionIndex=&index=&mainfilter=&refresh=4&search=Michael+Ballantine+and+Lisa+Ballantine+v.+Dominican+Republic%2C+PCA+Case+No.+2016-17%2C+Procedural+Order+No.+11%2C+7+June+2018&toc=disputedirectory&treaty_id=0&treatycat=
MethodGET
ParameterdefendingCountrydisp
Attack2-2
URLhttp://dev.investorstatelawguide.com/User/disputedirectory/DisputeDocument?DocLanguage_All=1&DocLanguage_English=1&DocLanguage_French=1&DocLanguage_German=1&DocLanguage_Spanish=1&DocLanguage_other=1&DocumentLanguage=&ID=10&aprule=&aprule_arbrule_lcia_1998=1&aprule_icsid_addfac_1978=1&aprule_icsid_addfac_2003=1&aprule_icsid_addfac_2006=1&aprule_icsid_all=1&aprule_icsid_arbrule_1968=1&aprule_icsid_arbrule_1984=1&aprule_icsid_arbrule_2003=1&aprule_icsid_arbrule_2006=1&aprule_scc_arbrule_2007=1&aprule_scoc_arbrule_1988=1&aprule_scoc_arbrule_1999=1&aprule_scoc_arbrule_2010=1&aprule_uni_arbrule_1976=1&aprule_uni_arbrule_2010=1&cat=&defendingCountrydisp=0&dispState=&disp_treaty=&doccat_1=1&doccat_12=1&doccat_13=1&doccat_15=1&doccat_16=1&doccat_17=1&doccat_18=1&doccat_2=1&doccat_21=1&doccat_22=1&doccat_23=1&doccat_3=1&doccat_4=1&doccat_5=1&doccat_6=1&doccat_7=1&doccat_8=1&hidAccordionIndex=&index=&mainfilter=1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C12%2C13%2C15%2C16%2C17%2C18%2C21%2C22%2C23&refresh=17&search=Hulley+Enterprises+Limited+%28Cyprus%29+v.+Russian+Federation%2C+PCA+Case+No.+AA+226%2C+Respondent+Defense+on+Appeal+before+the+Court+of+Appeal+in+The+Hague%2C+28+November+2017+%5BDutch%5D&toc=disputedirectory&treaty_id=2-2&treatycat=
MethodGET
Parametertreaty_id
Attack2-2
URLhttp://dev.investorstatelawguide.com/User/disputedirectory/DisputeDocument?DocLanguage_English=1&DocumentLanguage=E&ID=10&aprule=&aprule_arbrule_lcia_1998=1&aprule_icsid_addfac_1978=1&aprule_icsid_addfac_2003=1&aprule_icsid_addfac_2006=1&aprule_icsid_all=1&aprule_icsid_arbrule_1968=1&aprule_icsid_arbrule_1984=1&aprule_icsid_arbrule_2003=1&aprule_icsid_arbrule_2006=1&aprule_scc_arbrule_2007=1&aprule_scoc_arbrule_1988=1&aprule_scoc_arbrule_1999=1&aprule_scoc_arbrule_2010=1&aprule_uni_arbrule_1976=1&aprule_uni_arbrule_2010=1&cat=&defendingCountrydisp=2-2&dispState=&disp_treaty=&doccat_1=1&doccat_12=1&doccat_13=1&doccat_15=1&doccat_16=1&doccat_17=1&doccat_18=1&doccat_2=1&doccat_21=1&doccat_22=1&doccat_23=1&doccat_3=1&doccat_4=1&doccat_5=1&doccat_6=1&doccat_7=1&doccat_8=1&doccat_all=1&hidAccordionIndex=&index=&mainfilter=&refresh=2&search=Michael+Ballantine+and+Lisa+Ballantine+v.+Dominican+Republic%2C+PCA+Case+No.+2016-17%2C+Procedural+Order+No.+11%2C+7+June+2018&toc=disputedirectory&treaty_id=0&treatycat=
MethodGET
ParameterdefendingCountrydisp
Attack2-2
URLhttp://dev.investorstatelawguide.com/ResearchTools/SubjectNavigator?SearchType=C&id=50&search=ZAP&tab=r&toc=content+AND+1%3D1+--+
MethodGET
Parametertoc
Attackcontent AND 1=1 --
URLhttp://dev.investorstatelawguide.com/User/disputedirectory/DisputeDocument?DocLanguage_All=1&DocLanguage_English=1&DocLanguage_French=1&DocLanguage_German=1&DocLanguage_Spanish=1&DocLanguage_other=1&DocumentLanguage=&ID=10&aprule=&aprule_arbrule_lcia_1998=1&aprule_icsid_addfac_1978=1&aprule_icsid_addfac_2003=1&aprule_icsid_addfac_2006=1&aprule_icsid_all=1&aprule_icsid_arbrule_1968=1&aprule_icsid_arbrule_1984=1&aprule_icsid_arbrule_2003=1&aprule_icsid_arbrule_2006=1&aprule_scc_arbrule_2007=1&aprule_scoc_arbrule_1988=1&aprule_scoc_arbrule_1999=1&aprule_scoc_arbrule_2010=1&aprule_uni_arbrule_1976=1&aprule_uni_arbrule_2010=1&cat=&defendingCountrydisp=2-2&dispState=&disp_treaty=&doccat_1=1&doccat_12=1&doccat_13=1&doccat_15=1&doccat_16=1&doccat_17=1&doccat_18=1&doccat_2=1&doccat_21=1&doccat_22=1&doccat_23=1&doccat_3=1&doccat_4=1&doccat_5=1&doccat_6=1&doccat_7=1&doccat_8=1&hidAccordionIndex=&index=&mainfilter=1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C12%2C13%2C15%2C16%2C17%2C18%2C21%2C22%2C23&refresh=17&search=Hulley+Enterprises+Limited+%28Cyprus%29+v.+Russian+Federation%2C+PCA+Case+No.+AA+226%2C+Respondent+Defense+on+Appeal+before+the+Court+of+Appeal+in+The+Hague%2C+28+November+2017+%5BDutch%5D&toc=disputedirectory&treaty_id=0&treatycat=
MethodGET
ParameterdefendingCountrydisp
Attack2-2
URLhttp://dev.investorstatelawguide.com/User/disputedirectory/DisputeDocument?DocLanguage_All=1&DocLanguage_English=1&DocLanguage_French=1&DocLanguage_German=1&DocLanguage_Spanish=1&DocLanguage_other=1&DocumentLanguage=&ID=10&aprule=&aprule_arbrule_lcia_1998=1&aprule_icsid_addfac_1978=1&aprule_icsid_addfac_2003=1&aprule_icsid_addfac_2006=1&aprule_icsid_all=1&aprule_icsid_arbrule_1968=1&aprule_icsid_arbrule_1984=1&aprule_icsid_arbrule_2003=1&aprule_icsid_arbrule_2006=1&aprule_scc_arbrule_2007=1&aprule_scoc_arbrule_1988=1&aprule_scoc_arbrule_1999=1&aprule_scoc_arbrule_2010=1&aprule_uni_arbrule_1976=1&aprule_uni_arbrule_2010=1&cat=&defendingCountrydisp=2-2&dispState=&disp_treaty=&doccat_1=1&doccat_12=1&doccat_13=1&doccat_15=1&doccat_16=1&doccat_17=1&doccat_18=1&doccat_2=1&doccat_21=1&doccat_22=1&doccat_23=1&doccat_3=1&doccat_4=1&doccat_5=1&doccat_6=1&doccat_7=1&doccat_8=1&doccat_all=1&hidAccordionIndex=&index=&mainfilter=&refresh=12&search=Anatolie+Stati%2C+Gabriel+Stati%2C+Ascom+Group+S.A.+and+Terra+Raf+Trans+Traiding+Ltd+v.+Republic+of+Kazakhstan%2C+SCC+Case+No.+V116%2F2010%2C+Decision+of+Brussels+Court+of+First+Instance%2C+25+May+2018+%5BDutch%5D&toc=disputedirectory&treaty_id=0&treatycat=
MethodGET
ParameterdefendingCountrydisp
Attack2-2
URLhttp://dev.investorstatelawguide.com/User/disputedirectory/DisputeDocument?DocLanguage_All=1&DocLanguage_English=1&DocLanguage_French=1&DocLanguage_German=1&DocLanguage_Spanish=1&DocLanguage_other=1&DocumentLanguage=&ID=10&aprule=&aprule_arbrule_lcia_1998=1&aprule_icsid_addfac_1978=1&aprule_icsid_addfac_2003=1&aprule_icsid_addfac_2006=1&aprule_icsid_all=1&aprule_icsid_arbrule_1968=1&aprule_icsid_arbrule_1984=1&aprule_icsid_arbrule_2003=1&aprule_icsid_arbrule_2006=1&aprule_scc_arbrule_2007=1&aprule_scoc_arbrule_1988=1&aprule_scoc_arbrule_1999=1&aprule_scoc_arbrule_2010=1&aprule_uni_arbrule_1976=1&aprule_uni_arbrule_2010=1&cat=&defendingCountrydisp=0&dispState=&disp_treaty=&doccat_1=1&doccat_12=1&doccat_13=1&doccat_15=1&doccat_16=1&doccat_17=1&doccat_18=1&doccat_2=1&doccat_21=1&doccat_22=1&doccat_23=1&doccat_3=1&doccat_4=1&doccat_5=1&doccat_6=1&doccat_7=1&doccat_8=1&doccat_all=1&hidAccordionIndex=&index=&mainfilter=&refresh=12&search=Anatolie+Stati%2C+Gabriel+Stati%2C+Ascom+Group+S.A.+and+Terra+Raf+Trans+Traiding+Ltd+v.+Republic+of+Kazakhstan%2C+SCC+Case+No.+V116%2F2010%2C+Decision+of+Brussels+Court+of+First+Instance%2C+25+May+2018+%5BDutch%5D&toc=disputedirectory&treaty_id=2-2&treatycat=
MethodGET
Parametertreaty_id
Attack2-2
Instances10
Solution

Do not trust client side input, even if there is client side validation in place.

In general, type check all data on the server side.

If the application uses JDBC, use PreparedStatement or CallableStatement, with parameters passed by '?'

If the application uses ASP, use ADO Command Objects with strong type checking and parameterized queries.

If database Stored Procedures can be used, use them.

Do *not* concatenate strings into queries in the stored procedure, or use 'exec', 'exec immediate', or equivalent functionality!

Do not create dynamic SQL queries using simple string concatenation.

Escape all data received from the client.

Apply a 'whitelist' of allowed characters, or a 'blacklist' of disallowed characters in user input.

Apply the principle of least privilege by using the least privileged database user possible.

In particular, avoid using the 'sa' or 'db-owner' database users. This does not eliminate SQL injection, but minimizes its impact.

Grant the minimum database access that is necessary for the application.

Other information

The page results were successfully manipulated using the boolean conditions [query AND 1=1] and [query AND 1=2]

The parameter value being modified was NOT stripped from the HTML output for the purposes of the comparison

Data was returned for the original parameter.

The vulnerability was detected by successfully restricting the data originally returned, by manipulating the parameter

Reference

https://www.owasp.org/index.php/Top_10_2010-A1

https://www.owasp.org/index.php/SQL_Injection_Prevention_Cheat_Sheet

CWE Id89
WASC Id19
Source ID1
High (Medium)SQL Injection - Microsoft SQL Server
Description

SQL injection may be possible.

URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?%20Trading,%20Inc.%20v.%20Democratic%20Republic%20of%20the%20Congo%20(ICSID%20Case%20No.%20ARB/93/1)&ID=10&Location=Congo%20(Democratic%20Republic)%20-%20American%20Manufacturing%20&disputeId=642152&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d36%2526id%253d10%2526toc%253ddisputedirectory&pop=35&toc=wtoDisputeDocs
MethodGET
ParameterdisputeId
Attack642152) UNION ALL select NULL --
EvidenceAll queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions in their target lists
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?%20Lyle%20Ingredients%20Americas,%20Inc.%20v.%20United%20Mexican%20States%20(ICSID%20Case%20No.%20ARB(AF)/04/5)&ID=10&Location=Mexico%20-%20Archer%20Daniels%20Midland%20Company%20and%20Tate%20&disputeId=515221&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d61%2526id%253d10%2526toc%253ddisputedirectory&pop=39&toc=wtoDisputeDocs
MethodGET
ParameterdisputeId
Attack515221) UNION ALL select NULL --
EvidenceAll queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions in their target lists
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?Fsortdisp=dateasc%20%20%20%20%20%23Directory&ID=10&Location=Argentina%2520-%2520Abaclat%2520and%2520others%2520(formerly%2520Giovanna%2520a%2520Beccara%2520and%2520others)%2520v.%2520Argentine%2520Republic%2520(ICSID%2520Case%2520No.%2520ARB/07/5)&disputeId=653485&goback=%25252fdisputedirectory%25252fdisputedocument%25253fid%25253d10%252526toc%25253ddisputedirectory&pop=43&toc=wtoDisputeDocs
MethodGET
ParameterdisputeId
Attack653485) UNION ALL select NULL --
EvidenceAll queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions in their target lists
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?%20ARB/10/18)&%20Production%20Company%20Limited%20(%22Bapex%22)%20and%20Bangladesh%20Oil%20Gas%20and%20Mineral%20Corporation%20(%22Petrobangla%22)%20(ICSID%20Case%20No.%20ARB/10/11%20&ID=10&Location=Bangladesh%20-%20Niko%20Resources%20(Bangladesh)%20Ltd.%20v.%20Bangladesh%20Petroleum%20Exploration%20&disputeId=1374689&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d10%2526id%253d10%2526toc%253ddisputedirectory&pop=23&toc=wtoDisputeDocs
MethodGET
ParameterdisputeId
Attack1374689) UNION ALL select NULL --
EvidenceAll queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions in their target lists
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?%20Co.%20KG%20(Sweden%20and%20Europe)%20v.%20The%20Federal%20Republic%20of%20Germany%20(ICSID%20Case%20No.%20ARB/09/6)&ID=10&Location=Germany%20-%20Vattenfall%20AB,%20Vattenfall%20Europe%20AG,%20Vattenfall%20Europe%20Generation%20AG%20&disputeId=664896&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d49%2526id%253d10%2526toc%253ddisputedirectory&pop=15&toc=wtoDisputeDocs
MethodGET
ParameterdisputeId
Attack664896) UNION ALL select NULL --
EvidenceAll queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions in their target lists
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?%20Technical%20Cooperative%20Corp.,%20Beijing%20Shougang%20Mining%20Investment%20Company%20Ltd.%20and%20Qinhuangdaoshi%20Qinlong%20International%20Industrial%20Co.%20Ltd.%20v.%20Mongolia%20(PCA%20Case%20No.%202010-20)&ID=10&Location=Bosnia%20and%20Herzegovina%20-%20China%20Heilongjiang%20International%20Economic%20&disputeId=1339962&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d14%2526id%253d10%2526toc%253ddisputedirectory&pop=47&toc=wtoDisputeDocs
MethodGET
ParameterdisputeId
Attack1339962) UNION ALL select NULL --
EvidenceAll queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions in their target lists
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?%20Gas%20PLC,%20Poltava%20Hydroelectric%20BV%20v.%20Ukraine%20(SCC%20Emergency%20Arbitration%20No.%20EA%20(2015/002))&ID=10&Location=Ukraine%20-%20JKX%20Oil%20&disputeId=1143004&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d86%2526id%253d10%2526toc%253ddisputedirectory&pop=49&toc=wtoDisputeDocs
MethodGET
ParameterdisputeId
Attack1143004) UNION ALL select NULL --
EvidenceAll queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions in their target lists
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?ID=10&Location=India%20-%20Vodafone%20Group%20v.%20Republic%20of%20India%20%5BII%5D%20(UNCITRAL)&disputeId=1350412&goback=%252fdisputedirectory%252fDisputeDocument%253fDocLanguage_All%253d1%2526DocLanguage_English%253d1%2526DocLanguage_French%253d1%2526DocLanguage_German%253d1%2526DocLanguage_Spanish%253d1%2526DocLanguage_other%253d1%2526DocumentLanguage%2526aprule%2526cat%2526dispState%2526disp_treaty%2526hidAccordionIndex%2526index%2526mainfilter%2526treatycat%2526ID%253d10%2526aprule_arbrule_lcia_1998%253d1%2526aprule_icsid_addfac_1978%253d1%2526aprule_icsid_addfac_2003%253d1%2526aprule_icsid_addfac_2006%253d1%2526aprule_icsid_all%253d1%2526aprule_icsid_arbrule_1968%253d1%2526aprule_icsid_arbrule_1984%253d1%2526aprule_icsid_arbrule_2003%253d1%2526aprule_icsid_arbrule_2006%253d1%2526aprule_scc_arbrule_2007%253d1%2526aprule_scoc_arbrule_1988%253d1%2526aprule_scoc_arbrule_1999%253d1%2526aprule_scoc_arbrule_2010%253d1%2526aprule_uni_arbrule_1976%253d1%2526aprule_uni_arbrule_2010%253d1%2526defendingCountrydisp%253d0%2526doccat_1%253d1%2526doccat_12%253d1%2526doccat_13%253d1%2526doccat_15%253d1%2526doccat_16%253d1%2526doccat_17%253d1%2526doccat_18%253d1%2526doccat_2%253d1%2526doccat_21%253d1%2526doccat_22%253d1%2526doccat_23%253d1%2526doccat_3%253d1%2526doccat_4%253d1%2526doccat_5%253d1%2526doccat_6%253d1%2526doccat_7%253d1%2526doccat_8%253d1%2526doccat_all%253d1%2526refresh%253d6%2526search%253dVodafone%252bGroup%252bv.%252bRepublic%252bof%252bIndia%252b%25255bII%25255d%25252c%252bUNCITRAL%25252c%252bOrder%252bof%252bthe%252bHigh%252bCourt%252bof%252bDelhi%25252c%252b26%252bOctober%252b2017%2526toc%253ddisputedirectory%2526treaty_id%253d0&pop=1&toc=wtoDisputeDocs
MethodGET
ParameterdisputeId
Attack1350412) UNION ALL select NULL --
EvidenceAll queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions in their target lists
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?%20Machinery%20Ltd.%20v.%20Romania%20(ICSID%20Case%20No.%20ARB/07/13)&ID=10&Location=Romania%20-%20S&T%20Oil%20Equipment%20&disputeId=711009&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d77%2526id%253d10%2526toc%253ddisputedirectory&pop=26&toc=wtoDisputeDocs
MethodGET
ParameterdisputeId
Attack711009) UNION ALL select NULL --
EvidenceAll queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions in their target lists
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?%20ARB/03/30)&ID=10&Location=Argentina%20-%20Azurix%20Corp.%20v.%20Argentine%20Republic%20(ICSID%20Case%20No.%20ARB/01/12%20&disputeId=556423&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d4%2526id%253d10%2526toc%253ddisputedirectory&pop=23&toc=wtoDisputeDocs
MethodGET
ParameterdisputeId
Attack556423) UNION ALL select NULL --
EvidenceAll queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions in their target lists
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?%20Sons%20Co.%20v.%20Government%20of%20the%20State%20of%20Libya,%20Ministry%20of%20Economy%20in%20the%20State%20of%20Libya,%20General%20Authority%20for%20Investment%20Promotion%20and%20Protection%20Affairs,%20Ministry%20of%20Finance%20in%20Libya%20and%20Libyan%20Investment%20Authority&ID=10&Location=Libya%20-%20Mohamed%20Abdulmohsen%20Al-Kharafi%20&disputeId=966601&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d61%2526id%253d10%2526toc%253ddisputedirectory&pop=6&toc=wtoDisputeDocs
MethodGET
ParameterdisputeId
Attack966601) UNION ALL select NULL --
EvidenceAll queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions in their target lists
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?%20Co.%20KG%20v.%20Czech%20Republic&%20Fischer%20GmbH%20&ID=10&Location=Czech%20Republic%20-%20A.M.F.%20Aircraftleasing%20Meier%20&disputeId=1257226&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d39%2526id%253d10%2526toc%253ddisputedirectory&pop=38&toc=wtoDisputeDocs
MethodGET
ParameterdisputeId
Attack1257226) UNION ALL select NULL --
EvidenceAll queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions in their target lists
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?%20Tobago%20(ICSID%20Case%20No.%20ARB/01/14)&ID=10&Location=Trinidad%20and%20Tobago%20-%20F-W%20Oil%20Interests,%20Inc.%20v.%20Republic%20of%20Trinidad%20&disputeId=663368&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d85%2526id%253d10%2526toc%253ddisputedirectory&pop=38&toc=wtoDisputeDocs
MethodGET
ParameterdisputeId
Attack663368) UNION ALL select NULL --
EvidenceAll queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions in their target lists
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?%20Dominion%20Energy%20Holdings,%20L.P.%20v.%20Dominican%20Republic%20(UNCITRAL)&ID=10&Location=Dominican%20Republic%20-%20TCW%20Group,%20Inc%20&disputeId=646367&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d42%2526id%253d10%2526toc%253ddisputedirectory&pop=3&toc=wtoDisputeDocs
MethodGET
ParameterdisputeId
Attack646367) UNION ALL select NULL --
EvidenceAll queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions in their target lists
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?E%20Capital%20Corp.%20and%20LG&E%20Energy%20Corp.,%20LG&E%20International%20Inc.%20v.%20Argentine%20Republic%20(ICSID%20Case%20No.%20ARB/02/1)&ID=10&Location=Argentina%20-%20LG&disputeId=575340&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d6%2526id%253d10%2526toc%253ddisputedirectory&pop=45&toc=wtoDisputeDocs
MethodGET
ParameterdisputeId
Attack575340) UNION ALL select NULL --
EvidenceAll queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions in their target lists
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?%20ARB/04/8)&ID=10&Location=Argentina%20-%20Pan%20American%20Energy%20LLC%20and%20BP%20Argentina%20Exploration%20Company%20v.%20Argentine%20Republic%20and%20BP%20America%20Production%20Company,%20Pan%20American%20Sur%20SRL,%20Pan%20American%20Fueguina,%20SRL%20and%20Pan%20American%20Continental%20SRL%20v.%20Argentine%20Republic%20(ICSID%20Case%20No.%20ARB/03/13%20&disputeId=577593&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d7%2526id%253d10%2526toc%253ddisputedirectory&pop=8&toc=wtoDisputeDocs
MethodGET
ParameterdisputeId
Attack577593) UNION ALL select NULL --
EvidenceAll queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions in their target lists
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?%20Trust%20(Barbados)%20Ltd.%20v.%20Bolivarian%20Republic%20of%20Venezuela%0D%0A(ICSID%20Case%20No.%20ARB/12/20)&ID=10&Location=Venezuela%20-%20Blue%20Bank%20International%20&disputeId=885860&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d95%2526id%253d10%2526toc%253ddisputedirectory&pop=35&toc=wtoDisputeDocs
MethodGET
ParameterdisputeId
Attack885860) UNION ALL select NULL --
EvidenceAll queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions in their target lists
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?%20Trade%20S.A.%20v.%20Republic%20of%20Turkey%0D%0A(ICSID%20Case%20No.%20ARB(AF)/07/2)&ID=10&Location=Turkey%20-%20Europe%20Cement%20Investment%20&disputeId=664352&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d85%2526id%253d10%2526toc%253ddisputedirectory&pop=49&toc=wtoDisputeDocs
MethodGET
ParameterdisputeId
Attack664352) UNION ALL select NULL --
EvidenceAll queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions in their target lists
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?%20Montenegro%20and%20Republic%20of%20Serbia%20(UNCITRAL)&ID=10&Location=Serbia%20-%20Mytilineos%20Holdings%20SA%20v.%20The%20State%20Union%20of%20Serbia%20&disputeId=601349&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d82%2526id%253d10%2526toc%253ddisputedirectory&pop=2&toc=wtoDisputeDocs
MethodGET
ParameterdisputeId
Attack601349) UNION ALL select NULL --
EvidenceAll queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions in their target lists
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?%20Sehil%20Insaat%20Endustri%20ve%20Ticaret%20Ltd.%20Sti.%20v.%20Turkmenistan%20(ICSID%20Case%20No.%20ARB/12/6)&ID=10&Location=Turkmenistan%20-%20Muhammet%20Cap%20&disputeId=1101688&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d86%2526id%253d10%2526toc%253ddisputedirectory&pop=35&toc=wtoDisputeDocs
MethodGET
ParameterdisputeId
Attack1101688) UNION ALL select NULL --
EvidenceAll queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions in their target lists
Instances30
Solution

Do not trust client side input, even if there is client side validation in place.

In general, type check all data on the server side.

If the application uses JDBC, use PreparedStatement or CallableStatement, with parameters passed by '?'

If the application uses ASP, use ADO Command Objects with strong type checking and parameterized queries.

If database Stored Procedures can be used, use them.

Do *not* concatenate strings into queries in the stored procedure, or use 'exec', 'exec immediate', or equivalent functionality!

Do not create dynamic SQL queries using simple string concatenation.

Escape all data received from the client.

Apply a 'whitelist' of allowed characters, or a 'blacklist' of disallowed characters in user input.

Apply the principle of least privilege by using the least privileged database user possible.

In particular, avoid using the 'sa' or 'db-owner' database users. This does not eliminate SQL injection, but minimizes its impact.

Grant the minimum database access that is necessary for the application.

Other information

RDBMS [Microsoft SQL Server] likely, given UNION-specific error message regular expression [\QAll queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions in their target lists\E] matched by the HTML results

The vulnerability was detected by manipulating the parameter with an SQL UNION clause to cause a database error message to be returned and recognised

Reference

https://www.owasp.org/index.php/Top_10_2010-A1

https://www.owasp.org/index.php/SQL_Injection_Prevention_Cheat_Sheet

CWE Id89
WASC Id19
Source ID1
High (Medium)Remote OS Command Injection
Description

Attack technique used for unauthorized execution of operating system commands. This attack is possible when an application accepts untrusted input to build operating system commands in an insecure manner involving improper data sanitization, and/or improper calling of external programs.

URLhttp://dev.investorstatelawguide.com/disputedirectory/DisputeDocument?ID=10&aprule=%3Bsleep+15%3B&aprule_arbrule_lcia_1998=1&aprule_icsid_addfac_1978=1&aprule_icsid_addfac_2003=1&aprule_icsid_addfac_2006=1&aprule_icsid_all=1&aprule_icsid_arbrule_1968=1&aprule_icsid_arbrule_1984=1&aprule_icsid_arbrule_2003=1&aprule_icsid_arbrule_2006=1&aprule_scc_arbrule_2007=1&aprule_uni_arbrule_1976=1&cat=&doccat_103=1&doccat_116=1&doccat_12=1&doccat_13=1&doccat_154=1&doccat_17=1&doccat_185=1&doccat_227=1&doccat_23=1&doccat_33=1&doccat_49=1&doccat_58=1&doccat_62=1&doccat_71=1&doccat_8=1&doccat_all=1&hidAccordionIndex=0&index=0&mainfilter=&search=ZAP&toc=disputedirectory&treatycat=&treatycat_all=1&treatycat_bit=1&treatycat_fta=1&treatycat_nafta=1&treatycat_other=1&treatycat_regsecagr=1
MethodGET
Parameteraprule
Attack;sleep 15;
URLhttp://dev.investorstatelawguide.com/ResearchTools/PublicationCitators?SearchTab=%27+++docdataid+++%27%23%27+++docdataid+++%27&cidsp=%27+++docdataid+++%27&docdataid=%27+++docdataid+++%27&id=264&toc=content%27%7Ctimeout+%2FT+15&type=
MethodGET
Parametertoc
Attackcontent'|timeout /T 15
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?+Sons+Co.+v.+Government+of+the+State+of+Libya%2C+Ministry+of+Economy+in+the+State+of+Libya%2C+General+Authority+for+Investment+Promotion+and+Protection+Affairs%2C+Ministry+of+Finance+in+Libya+and+Libyan+Investment+Authority=&ID=10&Location=Libya+-+Mohamed+Abdulmohsen+Al-Kharafi+&disputeId=966601%22%26timeout+%2FT+15%26%22&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d61%2526id%253d10%2526toc%253ddisputedirectory&pop=6&toc=wtoDisputeDocs
MethodGET
ParameterdisputeId
Attack966601"&timeout /T 15&"
URLhttp://dev.investorstatelawguide.com/disputedirectory/DisputeDocument?DocLanguage_All=1&DocLanguage_English=1&DocLanguage_French=1&DocLanguage_German=1&DocLanguage_Spanish=1&DocLanguage_other=1&DocumentLanguage=&ID=10&aprule=&aprule_arbrule_lcia_1998=1&aprule_icsid_addfac_1978=1&aprule_icsid_addfac_2003=1&aprule_icsid_addfac_2006=1&aprule_icsid_all=1&aprule_icsid_arbrule_1968=1&aprule_icsid_arbrule_1984=1&aprule_icsid_arbrule_2003=1&aprule_icsid_arbrule_2006=1&aprule_scc_arbrule_2007=1&aprule_scoc_arbrule_1988=1&aprule_scoc_arbrule_1999=1&aprule_scoc_arbrule_2010=1&aprule_uni_arbrule_1976=1&aprule_uni_arbrule_2010=1&cat=&defendingCountrydisp=0&dispState=&disp_treaty=&doccat_1=1&doccat_12=1&doccat_13=1&doccat_15=1&doccat_16=1&doccat_17=1&doccat_18=1&doccat_2=1&doccat_21=1&doccat_22=1&doccat_23=1&doccat_3=1&doccat_4=1&doccat_5=1&doccat_6=1%3Bstart-sleep+-s+15+%23&doccat_7=1&doccat_8=1&hidAccordionIndex=&index=&mainfilter=1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C12%2C13%2C15%2C16%2C17%2C18%2C21%2C22%2C23&refresh=21&search=PJSC+Ukrnafta+v.+Russian+Federation%2C+PCA+Case+No.+2015-34%2C+Swiss+Federal+Supreme+Court+Order%2C+23+November+2017+%5BEnglish+Translation%5D&toc=disputedirectory&treaty_id=0&treatycat=
MethodGET
Parameterdoccat_6
Attack1;start-sleep -s 15 #
URLhttp://dev.investorstatelawguide.com/documents/documents/AF-0003-17%20-%20Waste%20Management%20II%20-%20Mexico%20Subm%20Info.pdf%23navpanes=0&Page=1?query=query%27%3Bstart-sleep+-s+15
MethodGET
Parameterquery
Attackquery';start-sleep -s 15
URLhttp://dev.investorstatelawguide.com/ResearchTools/SubjectNavigator?ci=38863&exList=&expandWholeBranchList=38863%27%3Bsleep+15%3B%27&id=50&kwList=37950%2C38863%2C&search=&searchBranchLevel=&toc=content
MethodGET
ParameterexpandWholeBranchList
Attack38863';sleep 15;'
URLhttp://dev.investorstatelawguide.com/disputedirectory/DisputeDocument?PageNumber=97&id=10%3Bstart-sleep+-s+15+%23&sorttab=apptreaty_asc&toc=disputedirectory
MethodGET
Parameterid
Attack10;start-sleep -s 15 #
URLhttp://dev.investorstatelawguide.com/disputedirectory/DisputeDocument?DocLanguage_Spanish=1&DocumentLanguage=S&ID=10&aprule=&aprule_arbrule_lcia_1998=1&aprule_icsid_addfac_1978=1&aprule_icsid_addfac_2003=1&aprule_icsid_addfac_2006=1&aprule_icsid_all=1&aprule_icsid_arbrule_1968=1&aprule_icsid_arbrule_1984=1&aprule_icsid_arbrule_2003=1&aprule_icsid_arbrule_2006=1&aprule_scc_arbrule_2007=1&aprule_scoc_arbrule_1988=1&aprule_scoc_arbrule_1999=1&aprule_scoc_arbrule_2010=1&aprule_uni_arbrule_1976=1&aprule_uni_arbrule_2010=1&cat=&defendingCountrydisp=0&dispState=&disp_treaty=&doccat_1=1&doccat_12=1&doccat_13=1&doccat_15=1&doccat_16=1&doccat_17=1&doccat_18=1&doccat_2=1&doccat_21=1&doccat_22=1&doccat_23=1&doccat_3=1&doccat_4=1&doccat_5=1&doccat_6=1&doccat_7=1&doccat_8=1&doccat_all=1&hidAccordionIndex=&index=&mainfilter=&refresh=4&search=Michael+Ballantine+and+Lisa+Ballantine+v.+Dominican+Republic%2C+PCA+Case+No.+2016-17%2C+Procedural+Order+No.+11%2C+7+June+2018%22%3Bsleep+15%3B%22&toc=disputedirectory&treaty_id=0&treatycat=
MethodGET
Parametersearch
AttackMichael Ballantine and Lisa Ballantine v. Dominican Republic, PCA Case No. 2016-17, Procedural Order No. 11, 7 June 2018";sleep 15;"
URLhttp://dev.investorstatelawguide.com/disputedirectory/DisputeDocument?DocLanguage_English=1&DocumentLanguage=E&ID=10&aprule=&aprule_arbrule_lcia_1998=1&aprule_icsid_addfac_1978=1&aprule_icsid_addfac_2003=1&aprule_icsid_addfac_2006=1&aprule_icsid_all=1&aprule_icsid_arbrule_1968=1&aprule_icsid_arbrule_1984=1&aprule_icsid_arbrule_2003=1&aprule_icsid_arbrule_2006=1&aprule_scc_arbrule_2007=1&aprule_scoc_arbrule_1988=1&aprule_scoc_arbrule_1999=1&aprule_scoc_arbrule_2010=1&aprule_uni_arbrule_1976=1&aprule_uni_arbrule_2010=1&cat=&defendingCountrydisp=0&dispState=&disp_treaty=&doccat_1=1&doccat_12=1&doccat_13=1&doccat_15=1&doccat_16=1&doccat_17=1&doccat_18=1&doccat_2=1&doccat_21=1&doccat_22=1&doccat_23=1&doccat_3=1&doccat_4=1&doccat_5=1&doccat_6=1&doccat_7=1&doccat_8=1&doccat_all=1&hidAccordionIndex=%27%3Bsleep+15%3B%27&index=&mainfilter=&refresh=2&search=Michael+Ballantine+and+Lisa+Ballantine+v.+Dominican+Republic%2C+PCA+Case+No.+2016-17%2C+Procedural+Order+No.+11%2C+7+June+2018&sorttab=apprules_asc&toc=disputedirectory&treaty_id=0&treatycat=
MethodGET
ParameterhidAccordionIndex
Attack';sleep 15;'
URLhttp://dev.investorstatelawguide.com/documents/documents/AF-0003-24%20Waste%20Management%20II%20-%20WM%20Reply.pdf%23navpanes=0&Page=1?query=query%27%26sleep+15%26%27
MethodGET
Parameterquery
Attackquery'&sleep 15&'
URLhttp://dev.investorstatelawguide.com/start-your-trial?City=ZAP&Country=Albania&Email=ZAP&EnableEditProfile=1&Firm_Institution=ZAP&FirstName=ZAP&I_am_18years_or_Older=1&LastName=ZAP&Position=ZAP&SheduleTutorial=false&TermsConditions=1&active=0%22%26timeout+%2FT+15%26%22&g-recaptcha-response=&id=54&save=y&signup=y&toc=content
MethodGET
Parameteractive
Attack0"&timeout /T 15&"
URLhttp://dev.investorstatelawguide.com/disputedirectory/DisputeDocument?DocLanguage_English=1&DocumentLanguage=E&ID=10&aprule=&aprule_arbrule_lcia_1998=1&aprule_icsid_addfac_1978=1&aprule_icsid_addfac_2003=1&aprule_icsid_addfac_2006=1&aprule_icsid_all=1&aprule_icsid_arbrule_1968=1&aprule_icsid_arbrule_1984=1&aprule_icsid_arbrule_2003=1&aprule_icsid_arbrule_2006=1&aprule_scc_arbrule_2007=1&aprule_scoc_arbrule_1988=1&aprule_scoc_arbrule_1999=1&aprule_scoc_arbrule_2010=1&aprule_uni_arbrule_1976=1&aprule_uni_arbrule_2010=1%22%3Bstart-sleep+-s+15&cat=&defendingCountrydisp=0&dispState=&disp_treaty=&doccat_1=1&doccat_12=1&doccat_13=1&doccat_15=1&doccat_16=1&doccat_17=1&doccat_18=1&doccat_2=1&doccat_21=1&doccat_22=1&doccat_23=1&doccat_3=1&doccat_4=1&doccat_5=1&doccat_6=1&doccat_7=1&doccat_8=1&doccat_all=1&hidAccordionIndex=&index=&mainfilter=&refresh=2&search=Michael+Ballantine+and+Lisa+Ballantine+v.+Dominican+Republic%2C+PCA+Case+No.+2016-17%2C+Procedural+Order+No.+11%2C+7+June+2018&sorttab=apprules_asc&toc=disputedirectory&treaty_id=0&treatycat=
MethodGET
Parameteraprule_uni_arbrule_2010
Attack1";start-sleep -s 15
URLhttp://dev.investorstatelawguide.com/documents/documents/AF-0003-29%20-%20Waste%20Management%20II%20-%20Mexico%20Add%20Subm.pdf%23navpanes=0&Page=1?query=query%22%3Bsleep+15%3B%22
MethodGET
Parameterquery
Attackquery";sleep 15;"
URLhttp://dev.investorstatelawguide.com/disputedirectory/DisputeDocument?DocLanguage_All=1&DocLanguage_English=1&DocLanguage_French=1&DocLanguage_German=1&DocLanguage_Spanish=1&DocLanguage_other=1&DocumentLanguage=&ID=10&aprule=&aprule_arbrule_lcia_1998=1&aprule_icsid_addfac_1978=1&aprule_icsid_addfac_2003=1&aprule_icsid_addfac_2006=1&aprule_icsid_all=1&aprule_icsid_arbrule_1968=1&aprule_icsid_arbrule_1984=1&aprule_icsid_arbrule_2003=1&aprule_icsid_arbrule_2006=1&aprule_scc_arbrule_2007=1&aprule_scoc_arbrule_1988=1&aprule_scoc_arbrule_1999=1&aprule_scoc_arbrule_2010=1&aprule_uni_arbrule_1976=1&aprule_uni_arbrule_2010=1&cat=&defendingCountrydisp=313&dispState=&disp_treaty=&doccat_1=1&doccat_12=1&doccat_13=1&doccat_15=1&doccat_16=1&doccat_17=1&doccat_18=1%27%3Bsleep+15%3B%27&doccat_2=1&doccat_21=1&doccat_22=1&doccat_23=1&doccat_3=1&doccat_4=1&doccat_5=1&doccat_6=1&doccat_7=1&doccat_8=1&doccat_all=1&hidAccordionIndex=&index=&mainfilter=++&refresh=&search=ZAP&toc=disputedirectory&treaty_id=7064&treatycat=
MethodGET
Parameterdoccat_18
Attack1';sleep 15;'
URLhttp://dev.investorstatelawguide.com/ResearchTools/PublicationCitators?SearchTab=%27+++docdataid+++%27%23%27+++docdataid+++%27&cidsp=%27+++docdataid+++%27&docdataid=%27+++docdataid+++%27%26timeout+%2FT+15&docid=%27+++documentid+++%27&id=264&toc=content&type=
MethodGET
Parameterdocdataid
Attack' docdataid '&timeout /T 15
URLhttp://dev.investorstatelawguide.com/disputedirectory/DisputeDocument?DocLanguage_All=1&DocLanguage_English=1&DocLanguage_French=1&DocLanguage_German=1&DocLanguage_Spanish=1&DocLanguage_other=1&DocumentLanguage=&ID=10&aprule=&aprule_arbrule_lcia_1998=1&aprule_icsid_addfac_1978=1&aprule_icsid_addfac_2003=1&aprule_icsid_addfac_2006=1&aprule_icsid_all=1&aprule_icsid_arbrule_1968=1&aprule_icsid_arbrule_1984=1&aprule_icsid_arbrule_2003=1&aprule_icsid_arbrule_2006=1&aprule_scc_arbrule_2007=1&aprule_scoc_arbrule_1988=1&aprule_scoc_arbrule_1999=1&aprule_scoc_arbrule_2010=1&aprule_uni_arbrule_1976=1&aprule_uni_arbrule_2010=1&cat=&defendingCountrydisp=0&dispState=&disp_treaty=&doccat_1=1&doccat_12=1&doccat_13=1&doccat_15=1&doccat_16=1&doccat_17=1&doccat_18=1&doccat_2=1&doccat_21=1&doccat_22=1&doccat_23=1&doccat_3=1&doccat_4=1&doccat_5=1&doccat_6=1&doccat_7=1&doccat_8=1&hidAccordionIndex=&index=&mainfilter=1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C12%2C13%2C15%2C16%2C17%2C18%2C21%2C22%2C23&refresh=21&search=PJSC+Ukrnafta+v.+Russian+Federation%2C+PCA+Case+No.+2015-34%2C+Swiss+Federal+Supreme+Court+Order%2C+23+November+2017+%5BEnglish+Translation%5D&sorttab=apptreaty_asc%22%26sleep+15%26%22&toc=disputedirectory&treaty_id=0&treatycat=
MethodGET
Parametersorttab
Attackapptreaty_asc"&sleep 15&"
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?cat=&docidclose=4632&id=201&subcat=&toc=content%26sleep+15%26
MethodGET
Parametertoc
Attackcontent&sleep 15&
URLhttp://dev.investorstatelawguide.com/disputedirectory/DisputeDocument?DocLanguage_All=1&DocLanguage_English=1&DocLanguage_French=1&DocLanguage_German=1&DocLanguage_Spanish=1&DocLanguage_other=1&DocumentLanguage=&ID=10&aprule=&aprule_arbrule_lcia_1998=1&aprule_icsid_addfac_1978=1&aprule_icsid_addfac_2003=1&aprule_icsid_addfac_2006=1&aprule_icsid_all=1&aprule_icsid_arbrule_1968=1&aprule_icsid_arbrule_1984=1&aprule_icsid_arbrule_2003=1&aprule_icsid_arbrule_2006=1&aprule_scc_arbrule_2007=1&aprule_scoc_arbrule_1988=1&aprule_scoc_arbrule_1999=1&aprule_scoc_arbrule_2010=1&aprule_uni_arbrule_1976=1&aprule_uni_arbrule_2010=1&cat=&defendingCountrydisp=313&dispState=&disp_treaty=&doccat_1=1&doccat_12=1&doccat_13=1&doccat_15=1&doccat_16=1&doccat_17=1&doccat_18=1&doccat_2=1%27%3Bsleep+15%3B%27&doccat_21=1&doccat_22=1&doccat_23=1&doccat_3=1&doccat_4=1&doccat_5=1&doccat_6=1&doccat_7=1&doccat_8=1&doccat_all=1&hidAccordionIndex=&index=&mainfilter=++&refresh=&search=ZAP&toc=disputedirectory&treaty_id=7064&treatycat=
MethodGET
Parameterdoccat_2
Attack1';sleep 15;'
URLhttp://dev.investorstatelawguide.com/documents/documents/AF-0003-19%20-%20Waste%20Management%20II%20-%20PO1%20Doc%20%5BSpanish%5D.pdf%23navpanes=0&Page=1?query=query%7Ctimeout+%2FT+15
MethodGET
Parameterquery
Attackquery|timeout /T 15
URLhttp://dev.investorstatelawguide.com/Treaties/index?cat=regsec%27%3Bstart-sleep+-s+15&toc=mainAnnot
MethodPOST
Parametercat
Attackregsec';start-sleep -s 15
Instances113
Solution

If at all possible, use library calls rather than external processes to recreate the desired functionality.

Run your code in a "jail" or similar sandbox environment that enforces strict boundaries between the process and the operating system. This may effectively restrict which files can be accessed in a particular directory or which commands can be executed by your software.

OS-level examples include the Unix chroot jail, AppArmor, and SELinux. In general, managed code may provide some protection. For example, java.io.FilePermission in the Java SecurityManager allows you to specify restrictions on file operations.

This may not be a feasible solution, and it only limits the impact to the operating system; the rest of your application may still be subject to compromise.

For any data that will be used to generate a command to be executed, keep as much of that data out of external control as possible. For example, in web applications, this may require storing the command locally in the session's state instead of sending it out to the client in a hidden form field.

Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.

For example, consider using the ESAPI Encoding control or a similar tool, library, or framework. These will help the programmer encode outputs in a manner less prone to error.

If you need to use dynamically-generated query strings or commands in spite of the risk, properly quote arguments and escape any special characters within those arguments. The most conservative approach is to escape or filter all characters that do not pass an extremely strict whitelist (such as everything that is not alphanumeric or white space). If some special characters are still needed, such as white space, wrap each argument in quotes after the escaping/filtering step. Be careful of argument injection.

If the program to be executed allows arguments to be specified within an input file or from standard input, then consider using that mode to pass arguments instead of the command line.

If available, use structured mechanisms that automatically enforce the separation between data and code. These mechanisms may be able to provide the relevant quoting, encoding, and validation automatically, instead of relying on the developer to provide this capability at every point where output is generated.

Some languages offer multiple functions that can be used to invoke commands. Where possible, identify any function that invokes a command shell using a single string, and replace it with a function that requires individual arguments. These functions typically perform appropriate quoting and filtering of arguments. For example, in C, the system() function accepts a string that contains the entire command to be executed, whereas execl(), execve(), and others require an array of strings, one for each argument. In Windows, CreateProcess() only accepts one command at a time. In Perl, if system() is provided with an array of arguments, then it will quote each of the arguments.

Assume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a whitelist of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does. Do not rely exclusively on looking for malicious or malformed inputs (i.e., do not rely on a blacklist). However, blacklists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright.

When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, "boat" may be syntactically valid because it only contains alphanumeric characters, but it is not valid if you are expecting colors such as "red" or "blue."

When constructing OS command strings, use stringent whitelists that limit the character set based on the expected value of the parameter in the request. This will indirectly limit the scope of an attack, but this technique is less important than proper output encoding and escaping.

Note that proper output encoding, escaping, and quoting is the most effective solution for preventing OS command injection, although input validation may provide some defense-in-depth. This is because it effectively limits what will appear in output. Input validation will not always prevent OS command injection, especially if you are required to support free-form text fields that could contain arbitrary characters. For example, when invoking a mail program, you might need to allow the subject field to contain otherwise-dangerous inputs like ";" and ">" characters, which would need to be escaped or otherwise handled. In this case, stripping the character might reduce the risk of OS command injection, but it would produce incorrect behavior because the subject field would not be recorded as the user intended. This might seem to be a minor inconvenience, but it could be more important when the program relies on well-structured subject lines in order to pass messages to other components.

Even if you make a mistake in your validation (such as forgetting one out of 100 input fields), appropriate encoding is still likely to protect you from injection-based attacks. As long as it is not done in isolation, input validation is still a useful technique, since it may significantly reduce your attack surface, allow you to detect some attacks, and provide other security benefits that proper encoding does not address.

Reference

http://cwe.mitre.org/data/definitions/78.html

https://www.owasp.org/index.php/Command_Injection

CWE Id78
WASC Id31
Source ID1
High (Medium)Cross Site Scripting (Reflected)
Description

Cross-site Scripting (XSS) is an attack technique that involves echoing attacker-supplied code into a user's browser instance. A browser instance can be a standard web browser client, or a browser object embedded in a software product such as the browser within WinAmp, an RSS reader, or an email client. The code itself is usually written in HTML/JavaScript, but may also extend to VBScript, ActiveX, Java, Flash, or any other browser-supported technology.

When an attacker gets a user's browser to execute his/her code, the code will run within the security context (or zone) of the hosting web site. With this level of privilege, the code has the ability to read, modify and transmit any sensitive data accessible by the browser. A Cross-site Scripted user could have his/her account hijacked (cookie theft), their browser redirected to another location, or possibly shown fraudulent content delivered by the web site they are visiting. Cross-site Scripting attacks essentially compromise the trust relationship between a user and the web site. Applications utilizing browser object instances which load content from the file system may execute code under the local machine zone allowing for system compromise.

There are three types of Cross-site Scripting attacks: non-persistent, persistent and DOM-based.

Non-persistent attacks and DOM-based attacks require a user to either visit a specially crafted link laced with malicious code, or visit a malicious web page containing a web form, which when posted to the vulnerable site, will mount the attack. Using a malicious form will oftentimes take place when the vulnerable resource only accepts HTTP POST requests. In such a case, the form can be submitted automatically, without the victim's knowledge (e.g. by using JavaScript). Upon clicking on the malicious link or submitting the malicious form, the XSS payload will get echoed back and will get interpreted by the user's browser and execute. Another technique to send almost arbitrary requests (GET and POST) is by using an embedded client, such as Adobe Flash.

Persistent attacks occur when the malicious code is submitted to a web site where it's stored for a period of time. Examples of an attacker's favorite targets often include message board posts, web mail messages, and web chat software. The unsuspecting user is not required to interact with any additional site/link (e.g. an attacker site or a malicious link sent via email), just simply view the web page containing the code.

URLhttp://dev.investorstatelawguide.com/disputedirectory/DisputeDocument?DocLanguage_All=1&DocLanguage_English=1&DocLanguage_French=1&DocLanguage_German=1&DocLanguage_Spanish=1&DocLanguage_other=1&DocumentLanguage=&ID=10&aprule=&aprule_arbrule_lcia_1998=1&aprule_icsid_addfac_1978=1&aprule_icsid_addfac_2003=1&aprule_icsid_addfac_2006=1&aprule_icsid_all=1&aprule_icsid_arbrule_1968=1&aprule_icsid_arbrule_1984=1&aprule_icsid_arbrule_2003=1&aprule_icsid_arbrule_2006=1&aprule_scc_arbrule_2007=1&aprule_scoc_arbrule_1988=1&aprule_scoc_arbrule_1999=1&aprule_scoc_arbrule_2010=1&aprule_uni_arbrule_1976=1&aprule_uni_arbrule_2010=1&cat=%27%3Balert%281%29%3B%27&defendingCountrydisp=313&dispState=&disp_treaty=&doccat_1=1&doccat_12=1&doccat_13=1&doccat_15=1&doccat_16=1&doccat_17=1&doccat_18=1&doccat_2=1&doccat_21=1&doccat_22=1&doccat_23=1&doccat_3=1&doccat_4=1&doccat_5=1&doccat_6=1&doccat_7=1&doccat_8=1&doccat_all=1&hidAccordionIndex=&index=&mainfilter=+&refresh=&search=ZAP&sorttab=apprules_asc&toc=disputedirectory&treaty_id=7064&treatycat=
MethodGET
Parametercat
Attack';alert(1);'
Evidence';alert(1);'
URLhttp://dev.investorstatelawguide.com/disputedirectory/DisputeDocument?DocLanguage_Spanish=1&DocumentLanguage=S&ID=10&aprule=&aprule_arbrule_lcia_1998=1&aprule_icsid_addfac_1978=1&aprule_icsid_addfac_2003=1&aprule_icsid_addfac_2006=1&aprule_icsid_all=1&aprule_icsid_arbrule_1968=1&aprule_icsid_arbrule_1984=1&aprule_icsid_arbrule_2003=1&aprule_icsid_arbrule_2006=1&aprule_scc_arbrule_2007=1&aprule_scoc_arbrule_1988=1&aprule_scoc_arbrule_1999=1&aprule_scoc_arbrule_2010=1&aprule_uni_arbrule_1976=1&aprule_uni_arbrule_2010=1&cat=&defendingCountrydisp=0&dispState=&disp_treaty=&doccat_1=1&doccat_12=1&doccat_13=1&doccat_15=1&doccat_16=1&doccat_17=1&doccat_18=1&doccat_2=1&doccat_21=1&doccat_22=1&doccat_23=1&doccat_3=1&doccat_4=1&doccat_5=1&doccat_6=1&doccat_7=1&doccat_8=1&doccat_all=1&hidAccordionIndex=&index=&mainfilter=&refresh=4&search=Michael+Ballantine+and+Lisa+Ballantine+v.+Dominican+Republic%2C+PCA+Case+No.+2016-17%2C+Procedural+Order+No.+11%2C+7+June+2018&sorttab=apptreaty_asc&toc=%27%3Balert%281%29%3B%27&treaty_id=0&treatycat=
MethodGET
Parametertoc
Attack';alert(1);'
Evidence';alert(1);'
URLhttp://dev.investorstatelawguide.com/ResearchTools/DTSearchFTS?All_Arbitrator=&All_ArbitratorRules=&All_agreement_id=&All_circDate1=&All_circDate2=&All_filter_country_id=&DispId=test&InvestmentTreaty_CountryId=&InvestmentTreaty_TreatyId=&RulesArbitHidden=&RulesofArbitrationid=&TreatiesandOtherInstrumentsid=&action=search&addselection=&agreementID=1234&agreementIDprov=6878&agreementSeq=1&c1=1&c10=1&c10_param=cat%3D3%5Etype%3D22&c11=1&c11_param=cat%3D3%5Etype%3D11&c12=1&c12_param=cat%3D3%5Etype%3D15&c13=1&c13_param=cat%3D3%5Etype%3D7&c14=1&c14_param=cat%3D3%5Etype%3D1&c15=1&c15_param=cat%3D3%5Etype%3D2&c16=1&c16_param=cat%3D3%5Etype%3D18&c17=1&c17_param=cat%3D3%5Etype%3D6&c18=1&c18_param=cat%3D3%5Etype%3D16&c19=1&c19_param=cat%3D3%5Etype%3D21&c1_param=cat%3D3%5Etype%3D1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%2C15%2C16%2C17%2C18%2C19%2C20%2C21%2C22%2C23&c1t=test&c1t_name=&c2=1&c20=1&c20_param=cat%3D3%5Etype%3D10&c21=1&c21_param=cat%3D1%5E%5ERulesArbitHidden%3DICSID+%28ICS%29%7CICSID+Additional+Facility%7CLondon+Courts+of+International+Arbitration%7CStockholm+Chamber+of+Commerce%7CUNCITRAL&c22=1&c22_param=cat%3D1%5E%5ERulesArbitHidden%3DICSID+%28ICS%29&c23=1&c23_param=cat%3D1%5E%5ERulesArbitHidden%3DICSID+Additional+Facility&c24=1&c24_param=cat%3D1%5E%5ERulesArbitHidden%3DLondon+Courts+of+International+Arbitration&c25=1&c25_param=cat%3D1%5E%5ERulesArbitHidden%3DStockholm+Chamber+of+Commerce&c26=1&c26_param=cat%3D1%5E%5ERulesArbitHidden%3DUNCITRAL&c27=1&c27_param=cat%3D2%5E%5EInvestTreatyHidden%3DBilateral+Investment%7CFree+Trade+Agreement%7CInternational+Treaties+%24%24+Rules%7CNAFTA%7COther%7CRegional%2FSectoral&c28=1&c28_param=cat%3D2%5E%5EInvestTreatyHidden%3DBilateral+Investment&c29=1&c29_param=cat%3D2%5E%5EInvestTreatyHidden%3DFree+Trade+Agreement&c2_param=cat%3D3%5Etype%3D17&c3=1&c30=1&c30_param=cat%3D2%5E%5EInvestTreatyHidden%3DInternational+Treaties+%24%24+Rules&c31=1&c31_param=cat%3D2%5E%5EInvestTreatyHidden%3DNAFTA&c32=1&c32_param=cat%3D2%5E%5EInvestTreatyHidden%3DOther&c33=1&c33_param=cat%3D2%5E%5EInvestTreatyHidden%3DRegional%2FSectoral&c3_param=cat%3D3%5Etype%3D8&c4=1&c4_param=cat%3D3%5Etype%3D13&c5=1&c5_param=cat%3D3%5Etype%3D12&c6=1&c6_param=cat%3D3%5Etype%3D23&c7=1&c7_param=cat%3D3%5Etype%3D3&c8=1&c8_param=cat%3D3%5Etype%3D5&c9=1&c9_param=cat%3D3%5Etype%3D4&checkboxesCheckedValuePass=&circDate1=01%2F01%2F1899&circDate2=11%2F08%2F2018&country_id=&countryid=&disputid=&drpdwnId=&ftypo=1&fuzziness=2&fuzziness_id=1&id=97&language=E&languageId=test&language_id=A&listId=test&newchkvalue=&nodeid=&provisionSourceID=&provision_idsource=&q=ZAP&rules_id=&searchType=javascript%3Aalert%281%29%3B&selNodeId=&stem=1&tempno=&testfeild=test&thes=1&toc=content&traty_instrument_id=&treaty_id=
MethodGET
ParametersearchType
Attackjavascript:alert(1);
Evidencejavascript:alert(1);
URLhttp://dev.investorstatelawguide.com/ResearchTools/JurisprudenceCitators?cidsp=593154&disputeID=593154&id=11&sort=&type=javascript%3Aalert%281%29%3B
MethodGET
Parametertype
Attackjavascript:alert(1);
Evidencejavascript:alert(1);
URLhttp://dev.investorstatelawguide.com/disputedirectory/DisputeDocument?DocLanguage_All=1&DocLanguage_English=1&DocLanguage_French=1&DocLanguage_German=1&DocLanguage_Spanish=1&DocLanguage_other=1&DocumentLanguage=&ID=10&aprule=%22+onMouseOver%3D%22alert%281%29%3B&aprule_arbrule_lcia_1998=1&aprule_icsid_addfac_1978=1&aprule_icsid_addfac_2003=1&aprule_icsid_addfac_2006=1&aprule_icsid_all=1&aprule_icsid_arbrule_1968=1&aprule_icsid_arbrule_1984=1&aprule_icsid_arbrule_2003=1&aprule_icsid_arbrule_2006=1&aprule_scc_arbrule_2007=1&aprule_scoc_arbrule_1988=1&aprule_scoc_arbrule_1999=1&aprule_scoc_arbrule_2010=1&aprule_uni_arbrule_1976=1&aprule_uni_arbrule_2010=1&cat=&defendingCountrydisp=0&dispState=&disp_treaty=&doccat_1=1&doccat_12=1&doccat_13=1&doccat_15=1&doccat_16=1&doccat_17=1&doccat_18=1&doccat_2=1&doccat_21=1&doccat_22=1&doccat_23=1&doccat_3=1&doccat_4=1&doccat_5=1&doccat_6=1&doccat_7=1&doccat_8=1&hidAccordionIndex=&index=&mainfilter=1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C12%2C13%2C15%2C16%2C17%2C18%2C21%2C22%2C23&refresh=21&search=PJSC+Ukrnafta+v.+Russian+Federation%2C+PCA+Case+No.+2015-34%2C+Swiss+Federal+Supreme+Court+Order%2C+23+November+2017+%5BEnglish+Translation%5D&toc=disputedirectory&treaty_id=0&treatycat=
MethodGET
Parameteraprule
Attack" onMouseOver="alert(1);
Evidence" onMouseOver="alert(1);
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?cat=investmenttreaty&id=201&subcat=%22+onMouseOver%3D%22alert%281%29%3B&toc=content
MethodGET
Parametersubcat
Attack" onMouseOver="alert(1);
Evidence" onMouseOver="alert(1);
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?Show=y&cat=%22+onMouseOver%3D%22alert%281%29%3B&docid=4632&id=201&subcat=&toc=content
MethodGET
Parametercat
Attack" onMouseOver="alert(1);
Evidence" onMouseOver="alert(1);
URLhttp://dev.investorstatelawguide.com/ResearchTools/DTSearchFTS?All_Arbitrator=&All_ArbitratorRules=&All_agreement_id=&All_circDate1=01%2F01%2F1899&All_circDate2=%22+onMouseOver%3D%22alert%281%29%3B&All_filter_country_id=&DispId=c2%2Cc3%2Cc4%2Cc5%2Cc6%2Cc7%2Cc8%2Cc9%2Cc10%2Cc11%2Cc12%2Cc13%2Cc14%2Cc15%2Cc16%2Cc17%2Cc18%2Cc19%2Cc20%2Cc22%2Cc23%2Cc24%2Cc25%2Cc26%2Cc28%2Cc29%2Cc30%2Cc31%2Cc32%2Cc33%2Cc34&InvestmentTreaty_CountryId=&InvestmentTreaty_TreatyId=&RulesArbitHidden=&RulesofArbitrationid=&TreatiesandOtherInstrumentsid=&action=search&addselection=&agreementID=1234&agreementIDprov=&agreementSeq=1&c1=1&c10=1&c10_param=&c11=1&c11_param=&c12=1&c12_param=&c13=1&c13_param=&c14=1&c14_param=&c15=1&c15_param=&c16=1&c16_param=&c17=1&c17_param=&c18=1&c18_param=&c19=1&c19_param=&c1t=test&c1t_name=&c2=1&c20=1&c20_param=&c21=1&c21_param=&c22=1&c23=1&c23_param=&c24=1&c24_param=&c25=1&c25_param=&c26=1&c26_param=&c27=1&c27_param=&c28=1&c29=1&c29_param=&c2_param=&c3=1&c30=1&c30_param=&c31=1&c31_param=&c32=1&c32_param=&c33=1&c33_param=&c34=1&c34_param=&c3_param=&c4=1&c4_param=&c5=1&c5_param=&c6=1&c6_param=&c7=1&c7_param=&c8=1&c8_param=&c9=1&c9_param=&checkboxesCheckedValuePass=cat%3D3%5Etype%3D1%2C2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C10%2C11%2C12%2C13%2C14%2C15%2C16%2C17%2C18%2C19%2C20%2C21%2C22%2C23%5E%5Ecat%3D3%5Etype%3D17%5E%5Ecat%3D3%5Etype%3D8%5E%5Ecat%3D3%5Etype%3D13%5E%5Ecat%3D3%5Etype%3D12%5E%5Ecat%3D3%5Etype%3D23%5E%5Ecat%3D3%5Etype%3D3%5E%5Ecat%3D3%5Etype%3D5%5E%5Ecat%3D3%5Etype%3D4%5E%5Ecat%3D3%5Etype%3D22%5E%5Ecat%3D3%5Etype%3D11%5E%5Ecat%3D3%5Etype%3D15%5E%5Ecat%3D3%5Etype%3D7%5E%5Ecat%3D3%5Etype%3D1%5E%5Ecat%3D3%5Etype%3D2%5E%5Ecat%3D3%5Etype%3D18%5E%5Ecat%3D3%5Etype%3D6%5E%5Ecat%3D3%5Etype%3D16%5E%5Ecat%3D3%5Etype%3D21%5E%5Ecat%3D3%5Etype%3D10%5E%5Ecat%3D1%5E%5ERulesArbitHidden%3DICSID+%28ICS%29%7CICSID+Additional+Facility%7CLondon+Courts+of+International+Arbitration%7CStockholm+Chamber+of+Commerce%7CUNCITRAL%5E%5Ecat%3D1%5E%5ERulesArbitHidden%3DICSID+%28ICS%29%7CICSID+Additional+Facility%7CLondon+Courts+of+International+Arbitration%7CStockholm+Chamber+of+Commerce%7CUNCITRAL%5E%5Ecat%3D2%5E%5EInvestTreatyHidden%3DBilateral+Investment%7CFree+Trade+Agreement%7CInternational+Treaties+%24%24+Rules%7CNAFTA%7COther%7CRegional%2FSectoral&country_id=&countryid=&disputid=&drpdwnId=%2CSelect+Agreement&ftypo=1&fuzziness=1&fuzziness_id=1&id=97&language=A&languageId=test&language_id=A&listId=test&newchkvalue=&nodeid=&provisionSourceID=&provision_idsource=&q=ZAP&rules_id=&searchType=boolean&selNodeId=&testfeild=test&toc=content&traty_instrument_id=&treaty_id=
MethodGET
ParameterAll_circDate2
Attack" onMouseOver="alert(1);
Evidence" onMouseOver="alert(1);
URLhttp://dev.investorstatelawguide.com/disputedirectory/DisputeDocument?DocLanguage_English=1&DocumentLanguage=E&ID=10&aprule=&aprule_arbrule_lcia_1998=1&aprule_icsid_addfac_1978=1&aprule_icsid_addfac_2003=1&aprule_icsid_addfac_2006=1&aprule_icsid_all=1&aprule_icsid_arbrule_1968=1&aprule_icsid_arbrule_1984=1&aprule_icsid_arbrule_2003=1&aprule_icsid_arbrule_2006=1&aprule_scc_arbrule_2007=1&aprule_scoc_arbrule_1988=1&aprule_scoc_arbrule_1999=1&aprule_scoc_arbrule_2010=1&aprule_uni_arbrule_1976=1&aprule_uni_arbrule_2010=1&cat=&defendingCountrydisp=0&dispState=&disp_treaty=&doccat_1=1&doccat_12=1&doccat_13=1&doccat_15=1&doccat_16=1&doccat_17=1&doccat_18=1&doccat_2=1&doccat_21=1&doccat_22=1&doccat_23=1&doccat_3=1&doccat_4=1&doccat_5=1&doccat_6=1&doccat_7=1&doccat_8=1&doccat_all=1&hidAccordionIndex=&index=&mainfilter=&refresh=2&search=Michael+Ballantine+and+Lisa+Ballantine+v.+Dominican+Republic%2C+PCA+Case+No.+2016-17%2C+Procedural+Order+No.+11%2C+7+June+2018&sorttab=apprules_asc&toc=%27%3Balert%281%29%3B%27&treaty_id=0&treatycat=
MethodGET
Parametertoc
Attack';alert(1);'
Evidence';alert(1);'
URLhttp://dev.investorstatelawguide.com/disputedirectory/DisputeDocument?id=10&sorttab=apptreaty_desc&toc=%27%3Balert%281%29%3B%27
MethodGET
Parametertoc
Attack';alert(1);'
Evidence';alert(1);'
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?cat=investmenttreaty&docid=5717&id=201&subcat=%22+onMouseOver%3D%22alert%281%29%3B&toc=content
MethodGET
Parametersubcat
Attack" onMouseOver="alert(1);
Evidence" onMouseOver="alert(1);
URLhttp://dev.investorstatelawguide.com/disputedirectory/DisputeDocument?DocLanguage_Spanish=1&DocumentLanguage=S&ID=10&aprule=&aprule_arbrule_lcia_1998=1&aprule_icsid_addfac_1978=1&aprule_icsid_addfac_2003=1&aprule_icsid_addfac_2006=1&aprule_icsid_all=1&aprule_icsid_arbrule_1968=1&aprule_icsid_arbrule_1984=1&aprule_icsid_arbrule_2003=1&aprule_icsid_arbrule_2006=1&aprule_scc_arbrule_2007=1&aprule_scoc_arbrule_1988=1&aprule_scoc_arbrule_1999=1&aprule_scoc_arbrule_2010=1&aprule_uni_arbrule_1976=1&aprule_uni_arbrule_2010=1&cat=&defendingCountrydisp=0&dispState=&disp_treaty=&doccat_1=1&doccat_12=1&doccat_13=1&doccat_15=1&doccat_16=1&doccat_17=1&doccat_18=1&doccat_2=1&doccat_21=1&doccat_22=1&doccat_23=1&doccat_3=1&doccat_4=1&doccat_5=1&doccat_6=1&doccat_7=1&doccat_8=1&doccat_all=1&hidAccordionIndex=&index=%27%3Balert%281%29%3B%27&mainfilter=&refresh=4&search=Michael+Ballantine+and+Lisa+Ballantine+v.+Dominican+Republic%2C+PCA+Case+No.+2016-17%2C+Procedural+Order+No.+11%2C+7+June+2018&toc=disputedirectory&treaty_id=0&treatycat=
MethodGET
Parameterindex
Attack';alert(1);'
Evidence';alert(1);'
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?Global=Yes&cat=%22+onMouseOver%3D%22alert%281%29%3B&id=201&search_title=ZAP&subcat=&toc=content
MethodGET
Parametercat
Attack" onMouseOver="alert(1);
Evidence" onMouseOver="alert(1);
URLhttp://dev.investorstatelawguide.com/Home/UserSession
MethodPOST
ParameterHiddenIPAddress
Attack" onMouseOver="alert(1);
Evidence" onMouseOver="alert(1);
URLhttp://dev.investorstatelawguide.com/ResearchTools/SubjectNavigator?SearchType=javascript%3Aalert%281%29%3B&id=50&search=ZAP&tab=r&toc=content
MethodGET
ParameterSearchType
Attackjavascript:alert(1);
Evidencejavascript:alert(1);
URLhttp://dev.investorstatelawguide.com/User/Welcome/TermsPhrases?letter=z&searchType=javascript%3Aalert%281%29%3B&toc=termsPhrases
MethodGET
ParametersearchType
Attackjavascript:alert(1);
Evidencejavascript:alert(1);
URLhttp://dev.investorstatelawguide.com/ResearchTools/TermsPhrases?allText=Y&letter=x&searchTermAgre=ZAP&searchType=javascript%3Aalert%281%29%3B&sorttab=ai_asc&submit_button=Search&toc=termsPhrases
MethodGET
ParametersearchType
Attackjavascript:alert(1);
Evidencejavascript:alert(1);
URLhttp://dev.investorstatelawguide.com/disputedirectory/DisputeDocument?PageNumber=97&id=10&sorttab=apptreaty_asc&toc=%27%3Balert%281%29%3B%27
MethodGET
Parametertoc
Attack';alert(1);'
Evidence';alert(1);'
URLhttp://dev.investorstatelawguide.com/disputedirectory/DisputeDocument?DocLanguage_English=1&DocumentLanguage=%22+onMouseOver%3D%22alert%281%29%3B&ID=10&aprule=&aprule_arbrule_lcia_1998=1&aprule_icsid_addfac_1978=1&aprule_icsid_addfac_2003=1&aprule_icsid_addfac_2006=1&aprule_icsid_all=1&aprule_icsid_arbrule_1968=1&aprule_icsid_arbrule_1984=1&aprule_icsid_arbrule_2003=1&aprule_icsid_arbrule_2006=1&aprule_scc_arbrule_2007=1&aprule_scoc_arbrule_1988=1&aprule_scoc_arbrule_1999=1&aprule_scoc_arbrule_2010=1&aprule_uni_arbrule_1976=1&aprule_uni_arbrule_2010=1&cat=&defendingCountrydisp=0&dispState=&disp_treaty=&doccat_1=1&doccat_12=1&doccat_13=1&doccat_15=1&doccat_16=1&doccat_17=1&doccat_18=1&doccat_2=1&doccat_21=1&doccat_22=1&doccat_23=1&doccat_3=1&doccat_4=1&doccat_5=1&doccat_6=1&doccat_7=1&doccat_8=1&doccat_all=1&hidAccordionIndex=&index=&mainfilter=&refresh=2&search=Michael+Ballantine+and+Lisa+Ballantine+v.+Dominican+Republic%2C+PCA+Case+No.+2016-17%2C+Procedural+Order+No.+11%2C+7+June+2018&sorttab=apprules_asc&toc=disputedirectory&treaty_id=0&treatycat=
MethodGET
ParameterDocumentLanguage
Attack" onMouseOver="alert(1);
Evidence" onMouseOver="alert(1);
URLhttp://dev.investorstatelawguide.com/disputedirectory/DisputeDocument?DocLanguage_English=1&DocumentLanguage=E&ID=10&aprule=&aprule_arbrule_lcia_1998=1&aprule_icsid_addfac_1978=1&aprule_icsid_addfac_2003=1&aprule_icsid_addfac_2006=1&aprule_icsid_all=1&aprule_icsid_arbrule_1968=1&aprule_icsid_arbrule_1984=1&aprule_icsid_arbrule_2003=1&aprule_icsid_arbrule_2006=1&aprule_scc_arbrule_2007=1&aprule_scoc_arbrule_1988=1&aprule_scoc_arbrule_1999=1&aprule_scoc_arbrule_2010=1&aprule_uni_arbrule_1976=1&aprule_uni_arbrule_2010=1&cat=&defendingCountrydisp=0&dispState=&disp_treaty=&doccat_1=1&doccat_12=1&doccat_13=1&doccat_15=1&doccat_16=1&doccat_17=1&doccat_18=1&doccat_2=1&doccat_21=1&doccat_22=1&doccat_23=1&doccat_3=1&doccat_4=1&doccat_5=1&doccat_6=1&doccat_7=1&doccat_8=1&doccat_all=1&hidAccordionIndex=&index=&mainfilter=&refresh=%22+onMouseOver%3D%22alert%281%29%3B&search=Michael+Ballantine+and+Lisa+Ballantine+v.+Dominican+Republic%2C+PCA+Case+No.+2016-17%2C+Procedural+Order+No.+11%2C+7+June+2018&sorttab=apprules_asc&toc=disputedirectory&treaty_id=0&treatycat=
MethodGET
Parameterrefresh
Attack" onMouseOver="alert(1);
Evidence" onMouseOver="alert(1);
Instances135
Solution

Phase: Architecture and Design

Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.

Examples of libraries and frameworks that make it easier to generate properly encoded output include Microsoft's Anti-XSS library, the OWASP ESAPI Encoding module, and Apache Wicket.

Phases: Implementation; Architecture and Design

Understand the context in which your data will be used and the encoding that will be expected. This is especially important when transmitting data between different components, or when generating outputs that can contain multiple encodings at the same time, such as web pages or multi-part mail messages. Study all expected communication protocols and data representations to determine the required encoding strategies.

For any data that will be output to another web page, especially any data that was received from external inputs, use the appropriate encoding on all non-alphanumeric characters.

Consult the XSS Prevention Cheat Sheet for more details on the types of encoding and escaping that are needed.

Phase: Architecture and Design

For any security checks that are performed on the client side, ensure that these checks are duplicated on the server side, in order to avoid CWE-602. Attackers can bypass the client-side checks by modifying values after the checks have been performed, or by changing the client to remove the client-side checks entirely. Then, these modified values would be submitted to the server.

If available, use structured mechanisms that automatically enforce the separation between data and code. These mechanisms may be able to provide the relevant quoting, encoding, and validation automatically, instead of relying on the developer to provide this capability at every point where output is generated.

Phase: Implementation

For every web page that is generated, use and specify a character encoding such as ISO-8859-1 or UTF-8. When an encoding is not specified, the web browser may choose a different encoding by guessing which encoding is actually being used by the web page. This can cause the web browser to treat certain sequences as special, opening up the client to subtle XSS attacks. See CWE-116 for more mitigations related to encoding/escaping.

To help mitigate XSS attacks against the user's session cookie, set the session cookie to be HttpOnly. In browsers that support the HttpOnly feature (such as more recent versions of Internet Explorer and Firefox), this attribute can prevent the user's session cookie from being accessible to malicious client-side scripts that use document.cookie. This is not a complete solution, since HttpOnly is not supported by all browsers. More importantly, XMLHTTPRequest and other powerful browser technologies provide read access to HTTP headers, including the Set-Cookie header in which the HttpOnly flag is set.

Assume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a whitelist of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does. Do not rely exclusively on looking for malicious or malformed inputs (i.e., do not rely on a blacklist). However, blacklists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright.

When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, "boat" may be syntactically valid because it only contains alphanumeric characters, but it is not valid if you are expecting colors such as "red" or "blue."

Ensure that you perform input validation at well-defined interfaces within the application. This will help protect the application even if a component is reused or moved elsewhere.

Reference

http://projects.webappsec.org/Cross-Site-Scripting

http://cwe.mitre.org/data/definitions/79.html

CWE Id79
WASC Id8
Source ID1
Medium (Medium)Application Error Disclosure
Description

This page contains an error/warning message that may disclose sensitive information like the location of the file that produced the unhandled exception. This information can be used to launch further attacks against the web application. The alert could be a false positive if the error message is found inside a documentation page.

URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?AgreementID=241&ProvCode=Art2&aaprovid=64574&cat&docid=1295&id=201&sort&subcat&toc=content
MethodGET
EvidenceHTTP/1.1 500 Internal Server Error
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?AgreementID=24&ProvCode=ArtXI&aaprovid=31758&cat&docid=67&id=201&sort&subcat&toc=content
MethodGET
EvidenceHTTP/1.1 500 Internal Server Error
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?AgreementID=134&ProvCode=Art4.(3)&aaprovid=56619&cat&docid=845&id=201&sort&subcat&toc=content
MethodGET
EvidenceHTTP/1.1 500 Internal Server Error
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?AgreementID=327&ProvCode=Rule39.A.&aaprovid=73101&cat&docid=1560&id=201&sort&subcat&toc=content
MethodGET
EvidenceHTTP/1.1 500 Internal Server Error
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?AgreementID=82&ProvCode=Art37&aaprovid=46578&cat&docid=446&id=201&sort&subcat&toc=content
MethodGET
EvidenceHTTP/1.1 500 Internal Server Error
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?AgreementID=110&ProvCode=Art56&aaprovid=51880&cat&docid=809&id=201&sort&subcat&toc=content
MethodGET
EvidenceHTTP/1.1 500 Internal Server Error
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?AgreementID=111&ProvCode=Reg14.(3)(a)&aaprovid=56307&cat&docid=842&id=201&sort&subcat&toc=content
MethodGET
EvidenceHTTP/1.1 500 Internal Server Error
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?AgreementID=1209&ProvCode=Art42&aaprovid=109406&cat&docid=5132&id=201&sort&subcat&toc=content
MethodGET
EvidenceHTTP/1.1 500 Internal Server Error
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?AgreementID=118&ProvCode=Rule49.(1)&aaprovid=54315&cat&docid=819&id=201&sort&subcat&toc=content
MethodGET
EvidenceHTTP/1.1 500 Internal Server Error
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?AgreementID=411&ProvCode=Art8.1.&aaprovid=80418&cat&docid=1866&id=201&sort&subcat&toc=content
MethodGET
EvidenceHTTP/1.1 500 Internal Server Error
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?AgreementID=125&ProvCode=Rule9.(3)&aaprovid=55392&cat&docid=828&id=201&sort&subcat&toc=content
MethodGET
EvidenceHTTP/1.1 500 Internal Server Error
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?AgreementID=73&ProvCode=CommPartIIIChapII&aaprovid=60276&cat&docid=57&id=201&sort&subcat&toc=content
MethodGET
EvidenceHTTP/1.1 500 Internal Server Error
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?AgreementID=463&ProvCode=Art8&aaprovid=86450&cat&docid=2112&id=201&sort&subcat&toc=content
MethodGET
EvidenceHTTP/1.1 500 Internal Server Error
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?AgreementID=24&ProvCode=ArtXIII&aaprovid=31766&cat&docid=67&id=201&sort&subcat&toc=content
MethodGET
EvidenceHTTP/1.1 500 Internal Server Error
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?AgreementID=110&ProvCode=Art16.(2)&aaprovid=51735&cat&docid=809&id=201&sort&subcat&toc=content
MethodGET
EvidenceHTTP/1.1 500 Internal Server Error
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?AgreementID=111&ProvCode=Reg22.(2)(b)&aaprovid=56355&cat&docid=842&id=201&sort&subcat&toc=content
MethodGET
EvidenceHTTP/1.1 500 Internal Server Error
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?AgreementID=73&ProvCode=(30)&aaprovid=40682&cat&docid=57&id=201&sort&subcat&toc=content
MethodGET
EvidenceHTTP/1.1 500 Internal Server Error
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?AgreementID=24&ProvCode=1.&aaprovid=31776&cat&docid=67&id=201&sort&subcat&toc=content
MethodGET
EvidenceHTTP/1.1 500 Internal Server Error
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?AgreementID=82&ProvCode=Art19.3.&aaprovid=46510&cat&docid=446&id=201&sort&subcat&toc=content
MethodGET
EvidenceHTTP/1.1 500 Internal Server Error
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?AgreementID=73&ProvCode=Art31.(10)&aaprovid=40964&cat&docid=57&id=201&sort&subcat&toc=content
MethodGET
EvidenceHTTP/1.1 500 Internal Server Error
Instances1734
Solution

Review the source code of this page. Implement custom error pages. Consider implementing a mechanism to provide a unique error reference/identifier to the client (browser) while logging the details on the server side and not exposing them to the user.

Reference

CWE Id200
WASC Id13
Source ID3
Medium (Medium)Format String Error
Description

A Format String error occurs when the submitted data of an input string is evaluated as a command by the application.

URLhttp://dev.investorstatelawguide.com/ResearchTools/SubjectNavigator?id=50&tab=r&toc=content
MethodPOST
Parameterstem
AttackZAP%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s
URLhttp://dev.investorstatelawguide.com/ResearchTools/PublicationCitators?id=264
MethodPOST
Parametersearch_title
AttackZAP%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s
URLhttp://dev.investorstatelawguide.com/start-your-trial?City=ZAP&Country=Albania&Email=ZAP+%251%21s%252%21s%253%21s%254%21s%255%21s%256%21s%257%21s%258%21s%259%21s%2510%21s%2511%21s%2512%21s%2513%21s%2514%21s%2515%21s%2516%21s%2517%21s%2518%21s%2519%21s%2520%21s%2521%21n%2522%21n%2523%21n%2524%21n%2525%21n%2526%21n%2527%21n%2528%21n%2529%21n%2530%21n%2531%21n%2532%21n%2533%21n%2534%21n%2535%21n%2536%21n%2537%21n%2538%21n%2539%21n%2540%21n%0A&EnableEditProfile=1&Firm_Institution=ZAP&FirstName=ZAP&I_am_18years_or_Older=1&LastName=ZAP&Position=ZAP&SheduleTutorial=false&TermsConditions=1&active=0&g-recaptcha-response=&id=54&save=y&signup=y&toc=content
MethodPOST
ParameterEmail
AttackZAP %1!s%2!s%3!s%4!s%5!s%6!s%7!s%8!s%9!s%10!s%11!s%12!s%13!s%14!s%15!s%16!s%17!s%18!s%19!s%20!s%21!n%22!n%23!n%24!n%25!n%26!n%27!n%28!n%29!n%30!n%31!n%32!n%33!n%34!n%35!n%36!n%37!n%38!n%39!n%40!n
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?cat=arbitrationrules&id=201&subcat&toc=content
MethodPOST
Parametersearch_title
AttackZAP%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?cat=ZAP%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%0A&id=201&subcat=&toc=content
MethodPOST
Parametercat
AttackZAP%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s
URLhttp://dev.investorstatelawguide.com/ResearchTools/SubjectNavigator?ci=46049&id=50&kwList=25889%2C46049&toc=ZAP%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%0A
MethodGET
Parametertoc
AttackZAP%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?cat=&docid=3806&id=201&subcat=ZAP%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%25n%25s%0A&toc=content
MethodPOST
Parametersubcat
AttackZAP%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s
URLhttp://dev.investorstatelawguide.com/ResearchTools/SubjectNavigator?id=50&tab=r&toc=content
MethodPOST
Parameterthes
AttackZAP%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?cat&docid=3806&id=201&subcat&toc=content
MethodPOST
Parametersearch_title
AttackZAP%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s
URLhttp://dev.investorstatelawguide.com/ResearchTools/JurisprudenceCitators?id=11&toc=content&type=gatt
MethodPOST
Parametersearch_title
AttackZAP%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s
URLhttp://dev.investorstatelawguide.com/ResearchTools/SubjectNavigator?id=50&tab=r&toc=content
MethodPOST
ParametersearchType
AttackZAP%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s%n%s
Instances11
Solution

Rewrite the background program using proper deletion of bad character strings. This will require a recompile of the background executable.

Other information

Potential Format String Error. The script closed the connection on a /%s

Reference

https://www.owasp.org/index.php/Format_string_attack

CWE Id134
WASC Id6
Source ID1
Medium (Medium)Directory Browsing
Description

It is possible to view the directory listing. Directory listing may reveal hidden scripts, include files , backup source files etc which can be accessed to read sensitive information.

URLhttp://dev.investorstatelawguide.com/highlighter/viewer/locale/
MethodGET
AttackParent Directory
Instances1
Solution

Disable directory browsing. If this is required, make sure the listed files does not induce risks.

Reference

http://httpd.apache.org/docs/mod/core.html#options

http://alamo.satlug.org/pipermail/satlug/2002-February/000053.html

CWE Id548
WASC Id48
Source ID1
Low (Medium)X-Content-Type-Options Header Missing
Description

The Anti-MIME-Sniffing header X-Content-Type-Options was not set to 'nosniff'. This allows older versions of Internet Explorer and Chrome to perform MIME-sniffing on the response body, potentially causing the response body to be interpreted and displayed as a content type other than the declared content type. Current (early 2014) and legacy versions of Firefox will use the declared content type (if one is set), rather than performing MIME-sniffing.

URLhttp://ocsp.digicert.com/
MethodPOST
ParameterX-Content-Type-Options
Instances1
Solution

Ensure that the application/web server sets the Content-Type header appropriately, and that it sets the X-Content-Type-Options header to 'nosniff' for all web pages.

If possible, ensure that the end user uses a standards-compliant and modern web browser that does not perform MIME-sniffing at all, or that can be directed by the web application/web server to not perform MIME-sniffing.

Other information

This issue still applies to error type pages (401, 403, 500, etc) as those pages are often still affected by injection issues, in which case there is still concern for browsers sniffing pages away from their actual content type.

At "High" threshold this scanner will not alert on client or server error responses.

Reference

http://msdn.microsoft.com/en-us/library/ie/gg622941%28v=vs.85%29.aspx

https://www.owasp.org/index.php/List_of_useful_HTTP_headers

CWE Id16
WASC Id15
Source ID3
Low (Medium)Cross-Domain JavaScript Source File Inclusion
Description

The page includes one or more script files from a third-party domain.

URLhttp://dev.investorstatelawguide.com/Treaties/AnnotDocument?agreementID=551&cat=bit&docid=2418&tabcontent&toc=annotSection
MethodGET
Parameterhttps://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js
Evidence<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js" type="text/javascript"></script>
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?cat&docid=2198&id=201&subcat&toc=content
MethodGET
Parameterhttps://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js
Evidence<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js" type="text/javascript"></script>
URLhttp://dev.investorstatelawguide.com/documents/documents/IC-0228-33%20-%20Bear%20Creek%20v.%20Peru%20-%20Respondent%20Rejoinder.pdf%23navpanes=0&Page=1
MethodGET
Parameterhttps://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js
Evidence<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
URLhttp://dev.investorstatelawguide.com/documents/documents/UN-0122-03%20-%20Everest%20Estate%20v.%20Russia%20-%20PCA%20Press%20Release%20II.pdf%23navpanes=0&Page=1
MethodGET
Parameterhttps://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js
Evidence<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
URLhttp://dev.investorstatelawguide.com/ResearchTools/SubjectNavigator?ci=38249&exList&id=50&kwList=27130,38249,&search&searchBranchLevel&toc=content
MethodGET
Parameterhttps://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js
Evidence<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
URLhttp://dev.investorstatelawguide.com/Treaties/AnnotDocument?agreementID=554&cat=bit&tabcontent&toc=annotSection
MethodGET
Parameterhttps://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js
Evidence<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js" type="text/javascript"></script>
URLhttp://dev.investorstatelawguide.com/Treaties/AnnotDocument?agreementID=1336&cat=other&docid=2436&tabcontent&toc=annotSection
MethodGET
Parameterhttps://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js
Evidence<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js" type="text/javascript"></script>
URLhttp://dev.investorstatelawguide.com/Treaties/AnnotDocument?agreementID=97&cat=other&docid&tabcontent&toc=annotSection
MethodGET
Parameterhttps://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js
Evidence<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
URLhttp://dev.investorstatelawguide.com/documents/documents/UN-0004-07%20Chevron%20I%20Judgment%20of%20Hague%20Court.pdf%23navpanes=0&Page=1
MethodGET
Parameterhttps://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js
Evidence<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?cat&docid=98&id=201&subcat&toc=content
MethodGET
Parameterhttps://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js
Evidence<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?cat&docid=4888&id=201&subcat&toc=content
MethodGET
Parameterhttps://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js
Evidence<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
URLhttp://dev.investorstatelawguide.com/documents/documents/AF-0003-10%20-%20Waste%20Management%20II%20-%20PO1%20%5BEnglish%5D.pdf%23navpanes=0&Page=1
MethodGET
Parameterhttps://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js
Evidence<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
URLhttp://dev.investorstatelawguide.com/ResearchTools/FullTextSearch?id=97&selNodeId=27126&tab=r&toc=content
MethodGET
Parameterhttps://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js
Evidence<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
URLhttp://dev.investorstatelawguide.com/Treaties/AnnotDocument?agreementID=740&cat=bit&docid=2666&tabcontent&toc=annotSection
MethodGET
Parameterhttps://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js
Evidence<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js" type="text/javascript"></script>
URLhttp://dev.investorstatelawguide.com/ResearchTools/SubjectNavigator?ci=25899&exList&expandWholeBranchList=25899&id=50&kwList=25889,25899,&search&searchBranchLevel&toc=content
MethodGET
Parameterhttps://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js
Evidence<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js" type="text/javascript"></script>
URLhttp://dev.investorstatelawguide.com/Treaties/AnnotDocument?agreementID=1236&cat=bit&docid=5342&tabcontent&toc=annotSection
MethodGET
Parameterhttps://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js
Evidence<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
URLhttp://dev.investorstatelawguide.com/disputedirectory/DisputeDocument?PageNumber=82&id=10&sorttab=scd_asc&toc=disputedirectory
MethodGET
Parameterhttps://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js
Evidence<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js" type="text/javascript"></script>
URLhttp://dev.investorstatelawguide.com/ResearchTools/FullTextSearch?id=97&selNodeId=46275&tab=r&toc=content
MethodGET
Parameterhttps://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js
Evidence<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js" type="text/javascript"></script>
URLhttp://dev.investorstatelawguide.com/disputedirectory/DisputeDocument?DocLanguage_All=1&DocLanguage_English=1&DocLanguage_French=1&DocLanguage_German=1&DocLanguage_Spanish=1&DocLanguage_other=1&DocumentLanguage&ID=10&aprule&aprule_arbrule_lcia_1998=1&aprule_icsid_addfac_1978=1&aprule_icsid_addfac_2003=1&aprule_icsid_addfac_2006=1&aprule_icsid_all=1&aprule_icsid_arbrule_1968=1&aprule_icsid_arbrule_1984=1&aprule_icsid_arbrule_2003=1&aprule_icsid_arbrule_2006=1&aprule_scc_arbrule_2007=1&aprule_scoc_arbrule_1988=1&aprule_scoc_arbrule_1999=1&aprule_scoc_arbrule_2010=1&aprule_uni_arbrule_1976=1&aprule_uni_arbrule_2010=1&cat&defendingCountrydisp=0&dispState&disp_treaty&doccat_1=1&doccat_12=1&doccat_13=1&doccat_15=1&doccat_16=1&doccat_17=1&doccat_18=1&doccat_2=1&doccat_21=1&doccat_22=1&doccat_23=1&doccat_3=1&doccat_4=1&doccat_5=1&doccat_6=1&doccat_7=1&doccat_8=1&doccat_all=1&hidAccordionIndex&index&mainfilter&refresh=10&search=B-Mex%2C+LLC+and+others+v.+United+Mexican+States%2C+ICSID+Case+No.+ARB%28AF%29%2F16%2F3%2C+Procedural+Order+No.+4%2C+29+May+2018+&sorttab=apprules_asc&toc=disputedirectory&treaty_id=0&treatycat
MethodGET
Parameterhttps://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js
Evidence<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
URLhttp://dev.investorstatelawguide.com/Treaties/AnnotDocument?agreementID=419&cat=bit&docid=1880&tabcontent&toc=annotSection
MethodGET
Parameterhttps://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js
Evidence<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
Instances22738
Solution

Ensure JavaScript source files are loaded from only trusted sources, and the sources can't be controlled by end users of the application.

Reference

CWE Id829
WASC Id15
Source ID3
Low (Medium)X-Content-Type-Options Header Missing
Description

The Anti-MIME-Sniffing header X-Content-Type-Options was not set to 'nosniff'. This allows older versions of Internet Explorer and Chrome to perform MIME-sniffing on the response body, potentially causing the response body to be interpreted and displayed as a content type other than the declared content type. Current (early 2014) and legacy versions of Firefox will use the declared content type (if one is set), rather than performing MIME-sniffing.

URLhttp://dev.investorstatelawguide.com/Treaties/AnnotDocument?agreementID=886&cat=other&docid=4114&tabcontent&toc=annotSection
MethodGET
ParameterX-Content-Type-Options
URLhttp://dev.investorstatelawguide.com/highlighter/viewer/?Page=1&file=http://dev.investorstatelawguide.com/documents/documents/BIT-0728%20-%20Belgium-Luxembourg-Madagascar%20BIT%20(2005)%20%5BEnglish%20translation%5D.pdf%23navpanes=0
MethodGET
ParameterX-Content-Type-Options
URLhttp://dev.investorstatelawguide.com/Treaties/AnnotDocument?agreementID=589&cat=other&tabcontent&toc=annotSection
MethodGET
ParameterX-Content-Type-Options
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?ID=10&Location=El%20Salvador%20-%20Pac%20Rim%20Cayman%20LLC.%20v.%20Republic%20of%20El%20Salvador%20(ICSID%20Case%20No.%20ARB/09/12)&disputeId=744863&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d48%2526id%253d10%2526toc%253ddisputedirectory&pop=18&toc=wtoDisputeDocs
MethodGET
ParameterX-Content-Type-Options
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?ID=10&Location=Panama%20-%20Retire%20in%20Chiriqui,%20S.A.%20and%20others%20v.%20Republic%20of%20Panama&disputeId=924699&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d70%2526id%253d10%2526toc%253ddisputedirectory&pop=41&toc=wtoDisputeDocs
MethodGET
ParameterX-Content-Type-Options
URLhttp://dev.investorstatelawguide.com/Treaties/AnnotDocument?agreementID=945&cat=regsec&docid=4210&tabcontent&toc=annotSection
MethodGET
ParameterX-Content-Type-Options
URLhttp://dev.investorstatelawguide.com/Treaties/index?cat=nafta&toc=mainAnnot
MethodGET
ParameterX-Content-Type-Options
URLhttp://dev.investorstatelawguide.com/Treaties/AnnotDocument?agreementID=43&cat=bit&tabcontent&toc=annotSection
MethodGET
ParameterX-Content-Type-Options
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?ID=10&Location=Guatemala%20-%20TECO%20Guatemala%20Holdings,%20LLC%20v.%20Republic%20of%20Guatemala%20(ICSID%20Case%20No.%20ARB/10/23)&disputeId=1028290&goback=%252fdisputedirectory%252fDisputeDocument%253fid%253d10%2526sorttab%253dscd_asc%2526toc%253ddisputedirectory&pop=6&toc=wtoDisputeDocs
MethodGET
ParameterX-Content-Type-Options
URLhttp://dev.investorstatelawguide.com/highlighter/viewer/?Page=1&file=http://dev.investorstatelawguide.com/documents/documents/BIT-0223%20-%20Bolivia-Chile%20BIT%20(1994)%20-%20Protocol%20%5BSpanish%5D.pdf%23navpanes=0
MethodGET
ParameterX-Content-Type-Options
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?ID=10&Location=Kyrgyz%20Republic%20-%20Lee%20Jong%20Baek%20and%20Central%20Asian%20Development%20Corporation%20v.%20Kyrgyz%20Republic&disputeId=1032233&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d59%2526id%253d10%2526toc%253ddisputedirectory&pop=1&toc=wtoDisputeDocs
MethodGET
ParameterX-Content-Type-Options
URLhttp://dev.investorstatelawguide.com/highlighter/viewer/?Page=1&file=http://dev.investorstatelawguide.com/documents/documents/ARB-0054%20SCC%20Arbitration%20Rules%20(2007)%20-2.pdf%23navpanes=0
MethodGET
ParameterX-Content-Type-Options
URLhttp://dev.investorstatelawguide.com/ResearchTools/SubjectNavigator?ci=33428&exList&id=50&kwList=26229,33428,&search&searchBranchLevel&toc=content
MethodGET
ParameterX-Content-Type-Options
URLhttp://dev.investorstatelawguide.com/Treaties/AnnotDocument?agreementID=465&cat&tabcontent=yes&toc=annotSection
MethodGET
ParameterX-Content-Type-Options
URLhttp://dev.investorstatelawguide.com/highlighter/viewer/?Page=1&file=http://dev.investorstatelawguide.com/documents/documents/NAT-0016%20-%20El%20Salvador%20Investment%20Law%20(1999)%5BSpanish%5D.pdf%23navpanes=0
MethodGET
ParameterX-Content-Type-Options
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?ID=10&Location=Honduras%20-%20Astaldi%20S.p.A.%20v.%20Republic%20of%20Honduras%20%5BII%5D%20(ICSID%20Case%20No.%20ARB/07/32)&disputeId=1371348&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d55%2526id%253d10%2526toc%253ddisputedirectory&pop=11&toc=wtoDisputeDocs
MethodGET
ParameterX-Content-Type-Options
URLhttp://dev.investorstatelawguide.com/Treaties/AnnotDocument?agreementID=412&cat=bit&tabcontent&toc=annotSection
MethodGET
ParameterX-Content-Type-Options
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?ID=10&Location=Kenya%20-%20Cortec%20Mining%20Kenya%20Limited,%20Cortec%20(Pty)%20Limited%20and%20Stirling%20Capital%20Limited%20v.%20Republic%20of%20Kenya%20(ICSID%20Case%20No.%20ARB/15/29)&disputeId=1195337&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d58%2526id%253d10%2526toc%253ddisputedirectory&pop=41&toc=wtoDisputeDocs
MethodGET
ParameterX-Content-Type-Options
URLhttp://dev.investorstatelawguide.com/ResearchTools/SubjectNavigator?ci=43973&exList&expandWholeBranchList=43973&id=50&kwList=26562,43973,&search&searchBranchLevel&toc=content
MethodGET
ParameterX-Content-Type-Options
URLhttp://dev.investorstatelawguide.com/documents/documents/IC-0070-04_Biwater.pdf
MethodGET
ParameterX-Content-Type-Options
Instances15347
Solution

Ensure that the application/web server sets the Content-Type header appropriately, and that it sets the X-Content-Type-Options header to 'nosniff' for all web pages.

If possible, ensure that the end user uses a standards-compliant and modern web browser that does not perform MIME-sniffing at all, or that can be directed by the web application/web server to not perform MIME-sniffing.

Other information

This issue still applies to error type pages (401, 403, 500, etc) as those pages are often still affected by injection issues, in which case there is still concern for browsers sniffing pages away from their actual content type.

At "High" threshold this scanner will not alert on client or server error responses.

Reference

http://msdn.microsoft.com/en-us/library/ie/gg622941%28v=vs.85%29.aspx

https://www.owasp.org/index.php/List_of_useful_HTTP_headers

CWE Id16
WASC Id15
Source ID3
Low (Medium)Web Browser XSS Protection Not Enabled
Description

Web Browser XSS Protection is not enabled, or is disabled by the configuration of the 'X-XSS-Protection' HTTP response header on the web server

URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?ID=10&Location=Czech%20Republic%20-%20European%20Media%20Ventures%20SA%20v.%20Czech%20Republic%20(UNCITRAL)&disputeId=568944&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d40%2526id%253d10%2526toc%253ddisputedirectory&pop=3&toc=wtoDisputeDocs
MethodGET
ParameterX-XSS-Protection
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?ID=10&Location=Venezuela%20-%20Venezuela%20Holdings%20B.V.%20and%20others%20(formerly%20Mobil%20Corporation%20and%20others)%20v.%20Bolivarian%20Republic%20of%20Venezuela%20(ICSID%20Case%20No.%20ARB/07/27)&disputeId=677420&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d98%2526id%253d10%2526toc%253ddisputedirectory&pop=34&toc=wtoDisputeDocs
MethodGET
ParameterX-XSS-Protection
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?ID=10&Location=Slovak%20Republic%20-%20European%20American%20Investment%20Bank%20AG%20(Austria)%20v.%20Slovak%20Republic%20(PCA%20Case%20No.%202010-17)&disputeId=1118279&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d83%2526id%253d10%2526toc%253ddisputedirectory&pop=11&toc=wtoDisputeDocs
MethodGET
ParameterX-XSS-Protection
URLhttp://dev.investorstatelawguide.com/documents/documents/IC-0281-04%20-%20Rios%20v.%20Chile%20-%20Respondent%20Memorial%5BSpanish%5D.pdf%23navpanes=0&Page=1
MethodGET
ParameterX-XSS-Protection
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?ID=10&Location=Croatia%20-%20MOL%20Hungarian%20Oil%20and%20Gas%20Company%20Plc%20v.%20Republic%20of%20Croatia%20(ICSID%20Case%20No.%20ARB/13/32)&disputeId=1085938&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d39%2526id%253d10%2526toc%253ddisputedirectory&pop=34&toc=wtoDisputeDocs
MethodGET
ParameterX-XSS-Protection
URLhttp://dev.investorstatelawguide.com/documents/documents/UN-0043-02%20-%20Nordzucker%20v.%20Poland%20-%20Second%20Partial%20Award.pdf%23navpanes=0&Page=1
MethodGET
ParameterX-XSS-Protection
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?ID=10&Location=Canada%20-%20Crompton%20(Chemtura)%20Corporation%20v.%20Government%20of%20Canada&disputeId=616318&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d15%2526id%253d10%2526toc%253ddisputedirectory&pop=38&toc=wtoDisputeDocs
MethodGET
ParameterX-XSS-Protection
URLhttp://dev.investorstatelawguide.com/Treaties/AnnotDocument?agreementID=802&toc=annotSection
MethodGET
ParameterX-XSS-Protection
URLhttp://dev.investorstatelawguide.com/Treaties/AnnotDocument?agreementID=315&cat=other&tabcontent&toc=annotSection
MethodGET
ParameterX-XSS-Protection
URLhttp://dev.investorstatelawguide.com/Treaties/AnnotDocument?agreementID=1346&cat=other&docid=2446&tabcontent&toc=annotSection
MethodGET
ParameterX-XSS-Protection
URLhttp://dev.investorstatelawguide.com/documents/documents/IC-0228-14%20-%20Bear%20Creek%20v.%20Peru%20-%20Witness%20Statement%20of%20Zegarra%20%5BSpanish%5D.pdf%23navpanes=0&Page=1
MethodGET
ParameterX-XSS-Protection
URLhttp://dev.investorstatelawguide.com/documents/documents/OT-0001-02%20-%20France%20Telecom%20v.%20Lebanon%20-%20Decision%20I.pdf%23navpanes=0&Page=1
MethodGET
ParameterX-XSS-Protection
URLhttp://dev.investorstatelawguide.com/documents/documents/FTA-0039%20-%20Oman-United%20States%20Free%20Trade%20Agreement%20(2006)%20(excerpts).pdf%23navpanes=0&Page=1
MethodGET
ParameterX-XSS-Protection
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?cat=investmenttreaty&docid=4463&id=201&subcat=bit&toc=content
MethodGET
ParameterX-XSS-Protection
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?cat=investmenttreaty&docid=6378&id=201&subcat=bit&toc=content
MethodGET
ParameterX-XSS-Protection
URLhttp://dev.investorstatelawguide.com/disputedirectory/DisputeDoc_AllDocList?ID=10&doclist=AF%2f0035%2f02&goback=%2fdisputedirectory%2fDisputeDocument%3fPageNumber%3d75%26id%3d10%26toc%3ddisputedirectory&sub=24&toc=wtoDisputeDocs
MethodGET
ParameterX-XSS-Protection
URLhttp://dev.investorstatelawguide.com/ResearchTools/ArticleCitator?AgreementID=1087&ProvCode=Article%2023&aaprovid=103493&cat&docid=4524&id=201&sort=%23docid4524&subcat&toc=content
MethodGET
ParameterX-XSS-Protection
URLhttp://dev.investorstatelawguide.com/DisputeDirectory/DisputeDoc_AllDocList?ID=10&Location=Peru%20-%20Bear%20Creek%20Mining%20Corporation%20v.%20Republic%20of%20Peru%20(ICSID%20Case%20No.%20ARB/14/21)&disputeId=1093714&goback=%252fdisputedirectory%252fDisputeDocument%253fPageNumber%253d72%2526id%253d10%2526toc%253ddisputedirectory&pop=21&toc=wtoDisputeDocs
MethodGET
ParameterX-XSS-Protection
URLhttp://dev.investorstatelawguide.com/documents/documents/IC-0239-10%20-%20EuroGas%20v.%20Slovak%20Republic%20-%20PO1.pdf%23navpanes=0&Page=1
MethodGET
ParameterX-XSS-Protection
URLhttp://dev.investorstatelawguide.com/highlighter/viewer/?Page=1&file=http://dev.investorstatelawguide.com/documents/documents/BIT-0529%20-%20Lesotho-United%20Kingdom%20BIT%20(1981)%20(citation%20and%20source).pdf%23navpanes=0
MethodGET
ParameterX-XSS-Protection
Instances22262
Solution

Ensure that the web browser's XSS filter is enabled, by setting the X-XSS-Protection HTTP response header to '1'.

Other information

The X-XSS-Protection HTTP response header allows the web server to enable or disable the web browser's XSS protection mechanism. The following values would attempt to enable it:

X-XSS-Protection: 1; mode=block

X-XSS-Protection: 1; report=http://www.example.com/xss

The following values would disable it:

X-XSS-Protection: 0

The X-XSS-Protection HTTP response header is currently supported on Internet Explorer, Chrome and Safari (WebKit).

Note that this alert is only raised if the response body could potentially contain an XSS payload (with a text-based content type, with a non-zero length).

Reference

https://www.owasp.org/index.php/XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet

https://blog.veracode.com/2014/03/guidelines-for-setting-security-headers/

CWE Id933
WASC Id14
Source ID3
Low (Medium)Cookie No HttpOnly Flag
Description

A cookie has been set without the HttpOnly flag, which means that the cookie can be accessed by JavaScript. If a malicious script can be run on this page then the cookie will be accessible and can be transmitted to another site. If this is a session cookie then session hijacking may be possible.

URLhttp://dev.investorstatelawguide.com/notepad-login
MethodGET
ParameterPassword
EvidenceSet-Cookie: Password
URLhttp://dev.investorstatelawguide.com/User/Welcome/
MethodGET
ParameterUserCIS
EvidenceSet-Cookie: UserCIS
URLhttp://dev.investorstatelawguide.com/ResearchTools/SubjectNavigator?id=50&tab=r&toc=content
MethodGET
ParameterUserCIS
EvidenceSet-Cookie: UserCIS
URLhttp://dev.investorstatelawguide.com/notepad-login
MethodGET
ParameterUserId
EvidenceSet-Cookie: UserId
Instances4
Solution

Ensure that the HttpOnly flag is set for all cookies.

Reference

http://www.owasp.org/index.php/HttpOnly

CWE Id16
WASC Id13
Source ID3
Low (Medium)Content-Type Header Missing
Description

The Content-Type header was either missing or empty.

URLhttp://dev.investorstatelawguide.com/highlighter/viewer/locale/locale.properties
MethodGET
Instances1
Solution

Ensure each page is setting the specific and appropriate content-type value for the content being delivered.

Reference

http://msdn.microsoft.com/en-us/library/ie/gg622941%28v=vs.85%29.aspx

CWE Id345
WASC Id12
Source ID3