这是一个简单的 Node Express 应用,用于探索 Moment.js 的路径遍历漏洞(CVE-2022-24785)。
git clone https://github.com/pS3ud0RAnD0m/momentjs.git
cd momentjs
cat package.json # Change 'moment' to '2.29.4' if wanting to test bypasses of the current patch.
npm install
node app.js