-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Hi,
I have a question about ODGen's data flow ability. If the same JS code is as follows:
function exploit(string, input, val){
var inner = string + "123";
var link = inner + "123";
eval(link);
}
exploit(1,2,3);
module.exports = {
exploit};
ODgen successfully tracks the data flow as well as the vulnerability of os_command. However, if the JS code is as follows:
function exploit(string, input, val){
var inner = string + "123";
var link = inner + "123";
eval({hello: link});
}
exploit(1,2,3);
module.exports = {
exploit};
ODGen does not track its data flow. Could you give me a clue on how to track data flows for objects (e.g., {hello: link} )? Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels