Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency Confusion #967

Open
ranj3et opened this issue Apr 10, 2024 · 0 comments
Open

Dependency Confusion #967

ranj3et opened this issue Apr 10, 2024 · 0 comments

Comments

@ranj3et
Copy link

ranj3et commented Apr 10, 2024

Hi Team,

I hope you are doing well,

I found a critical vulnerability on your website:- https://paper.navcoin.org

Summary:-

I've found a Dependency Confusion vulnerability in the [ https://paper.navcoin.org ] website. The vulnerability allows me to claim private npm packages that are being used on the website, and serve malicious content on the server which would allow me to gain remote code execution on anyone who installs the package.

Vulnerable Package:-

https://paper.navcoin.org/package.json

Name : "NavCoinPaperWallet"

Steps To Reproduce:-

  1. Create an account on npmjs.org and publish one malicious package with the name "NavCoinPaperWallet" .
Screenshot 2024-04-10 at 6 41 34 PM
  1. Wait and watch as your malware is unknowingly distributed among the users.

https://www.npmjs.com/package/navcoinpaperwallet

##When you run or install npm package, it may lead to remote code execution (RCE).
I am capturing logs, but since npm deletes malicious npm packages after
24 hours, it might be possible that the IP showing I am here is wrong
and not from your server. However, for proof of concept (POC), I have
attached the malicious package above that I created.

Impact:-

Remote Code Execution on the organization systems.

References:-

These are two excellent blog posts explaining the issue in detail:

Please let me know if you have any questions.

Regards,
Ranjeet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant