NoSQL Injection Analysis [Shoppy - HackTheBox] @0xdf
NoSQL Injection Analysis [Shoppy - HackTheBox]  @0xdf
Uploaded January 2023 | Updated November 2026, 3 hours ago
We'll look at two similar NoSQL injections in the web application on the Shoppy box from HackTheBox. I'll configure VSCode to SSH into Shoppy and provide access. I'll show both injections in the code, and why they work. Then I'll fix both injections and show they no longer work.

Full Writeup: 0x.gitlab.io/2023/01/14/htb-shoppy.html

☕ Buy Me A Coffee: buymeacoffee.com/0xdf

[00:00] Introduction
[00:43] Overview of application and NoSQL injections
[01:49] Setting up VSCode
[02:56] Setting up SSH profile
[04:49] Connecting in VSCode, setting up server
[05:50] Opening the ShoppyApp folder
[06:36] index.js overview
[08:45] NoSQL injection in user search
[09:39] Looking at schema objects
[10:17] Showing why injection in user search works
[11:27] Showing injection in login
[11:56] Fixing user search injection
[14:00] Fixing login injection
NoSQL Injection Analysis [Shoppy - HackTheBox]Print Queue [Day 5 - Advent of Code 2024 - Python]Hacking Reportinator [Sans Holiday Hack 2023]Python UV for HackersDay 25 - Clock Signal [Revival of Code 2023 - Advent of Code 2016]Reading 700 QRs with Python [Quilt - Hacky Easter 2023]Day 17: Clumsy Crucible [AOC2023 Python]Creating a SSH Honeypot with PythonLinen Layout [Day 19 - Advent of Code 2024 - Python]Race Condition [Day 20 - Advent of Code 2024 - Python]Brute-Forcing File Read with MD5s [HackTheBox Intentions]Digging into OFBiz Exploitation
0xdf |

NoSQL Injection Analysis [Shoppy - HackTheBox]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER