File tree Expand file tree Collapse file tree
java/ql/src/semmle/code/java/dataflow Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -132,7 +132,11 @@ private predicate sourceModelCsv(string row) {
132132 // TODO consider org.springframework.web.context.request.WebRequest.getRemoteUser
133133 // ServletRequestGetBodyMethod
134134 "javax.servlet;ServletRequest;false;getInputStream;();;ReturnValue;remote" ,
135- "javax.servlet;ServletRequest;false;getReader;();;ReturnValue;remote"
135+ "javax.servlet;ServletRequest;false;getReader;();;ReturnValue;remote" ,
136+ // CookieGet*
137+ "javax.servlet.http;Cookie;false;getValue;();;ReturnValue;remote" ,
138+ "javax.servlet.http;Cookie;false;getName;();;ReturnValue;remote" ,
139+ "javax.servlet.http;Cookie;false;getComment;();;ReturnValue;remote"
136140 ]
137141}
138142
Original file line number Diff line number Diff line change @@ -216,9 +216,6 @@ private class RemoteTaintedMethod extends Method {
216216 RemoteTaintedMethod ( ) {
217217 this instanceof PlayRequestGetMethod or
218218 this instanceof SpringRestTemplateResponseEntityMethod or
219- this instanceof CookieGetValueMethod or
220- this instanceof CookieGetNameMethod or
221- this instanceof CookieGetCommentMethod or
222219 this instanceof ApacheHttpGetParams or
223220 this instanceof ApacheHttpEntityGetContent or
224221 // In the setting of Android we assume that XML has been transmitted over
You can’t perform that action at this time.
0 commit comments