Skip to content

shieldfy-vulnerability-hub/rce-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rce-example

there is 2 vulnerability

  1. rce in index.vuln.js line 14
const Vulnerability1 = (req, res) => {
    exec(
        'gzip ' + req.query.file_path,
        function (err, data) {
            console.log('err: ', err)
            console.log('data: ', data);
        });
        res.send('Hello World!')
}
  1. rce in index.vuln.js line 24
const Vulnerability2 = (req, res) => {
    spawn(`${req.query.input}`,
    function (err, data) {
        console.log('err: ', err)
        console.log('data: ', data);
    });
    res.send('Hello World!')
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published