Giter VIP home page Giter VIP logo

Comments (3)

minamo7sen avatar minamo7sen commented on July 2, 2024

Hello,

This behavior is intended. Just to clarify, these errors can occur during the JS Source Mapper scans (active or passive).

It seems the target website you were scanning had path traversal characters in the sources field(s) of the JS map files or base64 inline ones, which could lead to writing data outside of the intended directory.

Since this is extremely undesirable due to obvious security concerns, the scanner stops and throw these errors.

A better failover mechanism would be to store the files in the "tmp" directory for example. I can improve that in a future release.

from burp-js-miner.

AkikoOrenji avatar AkikoOrenji commented on July 2, 2024

sanitize to remove ../ and save to root ?

from burp-js-miner.

minamo7sen avatar minamo7sen commented on July 2, 2024

In general, block-listing is not a good approach from a security point of view.

Nevertheless, I double checked the code and did some testing, it seems that my earlier suggestion was already implemented - bad memory here sorry.

So even though these errors were triggered, the files should still be stored on your system in the "tmp" folder, can you please double check and confirm that?
Folder location should be in Burp's JS source mapper issue, which follows the following pattern:

<your-home-directory>/.BurpSuite/JS-Miner/<your-target-website.com>-<timeStamp>/tmp

from burp-js-miner.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.