Skip to content

Server Side Request Forgery in /app/controllers/API/tricks.js #29

@ghost

Description

Server Side Request Forgery in /app/controllers/API/tricks.js critical severity

Fixability: we don't have available fix now
Overview:
Bad function found 'request' that calls bad var Url

request(Url, function (error, response, body) {
if (!error && response.statusCode == 200) {
screenshot(Url)
.width(1280)
.height(800)
.capture(function(err, img) {
if (err) {
renderDefaultImage(res)
// throw err;
}
res.set('Content-Type', 'image/png');
res.send(new Buffer(img));
});
} else {
renderDefaultImage(res);
}
})

refrence id: 899515800519217815
What do you want me to do next?
details@shieldfy details
ignore@shieldfy ignore ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions