Moment.js vuln lab## Overview
This is a simple Node Express app used to explore Moment.js' path traversal vuln (CVE-2022-24785).
## Setup
```bash
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
```
[4.0K] /data/pocs/6fadf1fe6d9dc9a5c8a35511799a9ebbd73fdfe0
├── [6.1K] app.js
├── [4.0K] assets
│ ├── [4.0K] css
│ │ ├── [143K] bootstrap.css
│ │ ├── [380K] bootstrap.css.map
│ │ ├── [ 26K] bootstrap-theme.css
│ │ ├── [ 47K] bootstrap-theme.css.map
│ │ └── [ 798] dark-theme.css
│ ├── [4.0K] html
│ │ ├── [3.2K] home.html
│ │ ├── [7.0K] moment.html
│ │ └── [2.1K] upload.html
│ ├── [4.0K] img
│ │ └── [4.2K] favicon.ico
│ └── [4.0K] js
│ ├── [ 36K] bootstrap.min.js
│ └── [ 85K] jquery.min.js
├── [ 34K] LICENSE
├── [ 130] package.json
├── [ 57K] package-lock.json
├── [ 321] README.md
└── [4.0K] uploads
├── [ 63] test1.js
├── [ 107] test2.js
├── [ 363] test3.js
└── [ 137] test4.txt
6 directories, 20 files