Giter VIP home page Giter VIP logo

bug-bounty's People

Contributors

liudasjan avatar viaruc avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

bug-bounty's Issues

XSS issue in buy now button return_url field

The Return url after purchase (optional) parameter does not check for the url scheme. By using a scheme such as javascript, an attacker is able to register an attack payload that executes arbitrary javascript.

monethaAddress mapping is not falsifiable

https://github.com/monetha/TrustReputationSmartContracts/blob/master/contracts/Restricted.sol

Issue:
Restricted.sol does not provide a method to make a monethaAddress mapping false. It is unclear whether multiple monethaAddresses should be valid at once, though from the choice to use a map it seems so. However, there is no way to remove an address from the mapping. If there is ever a compromise of a monethaAddress, deployed contracts will remain vulnerable indefinitely.

Fix:
If the intent is for there to be a single valid monethaAddress, use an address instead of a mapping.
If the intent is for there to be multiple monethaAddresses, provide a method for setting addresses in the mapping to false.

Classification:
Impact: Medium - High.
Likelihood: Low

Possibility to change merchant price during payment

Attack scenario:
Attacker can change price before payment.

Components: woocommerce, magento, buynowbutton all components within payment.monetha.io

Steps to reproduce:

  1. Inspect element on buy now button
  2. Change parameter amount value for example amount=0.01
  3. Press Buy button and make a payment.

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.