# CopyPasta

Level: Easy\
Points: 10\
Type: Daily Challenge

Lab Interface

<figure><img src="/files/y5sPBCMbkUWKa1JcbehA" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/MnvjK5g4qXqHzFtpNTYJ" alt=""><figcaption></figcaption></figure>

We have option to create new snippet

<figure><img src="/files/DCJJJ8JvTr2aD5AV8zmN" alt=""><figcaption></figcaption></figure>

Key thing here is the ability to make our new snippet private/public. This feature gives us idea about possible IDOR vuln.

To check this, I created another account. In the 1st account I created a private snippet and from 2nd account I was able to view it.

<figure><img src="/files/E9SU0t3BDiVQRyB99Vpk" alt=""><figcaption></figcaption></figure>

```
bug{8i9A3cgr4kq2FOgDGGjhBKcayrZUuhsS}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://notes.dollarboysushil.com/web-app/bugforge/idor-insecure-direct-object-reference/copypasta.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
