Damn Vulnerable Node Application
github.com
github.com
https://github.com/quantumfoam/DVNA/pull/14 https://github.com/quantumfoam/DVNA/pull/13
Let me know if that's what you had in mind.
var e = require("express");
var DVNA = e();
DVNA.get('/', function(req, res) {
var res = eval("("+req.query.e+")");
res.send('Parameter eval():<br> ' + res);
});
DVNA.listen(6666);
Yes, if you eval your requests that is a vulnerability, but it is a trivial one. I was expecting some side-channel esoteric stuff that, reading the code, you wouldn't necessarily see the problem.1 - https://github.com/quantumfoam/DVNA/tree/master/vulnerabilit...