Vulnerability library
Security checkJanuary 27, 2023

Utils.readChallengeTx does not verify the server account signature

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmstellar-sdk

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

The Utils.readChallengeTx function used in SEP-10 Stellar Web Authentication states in its function documentation that it reads and validates the challenge transaction including verifying that the serverAccountID has signed the transaction.

Recommendation

Update the stellar-sdk package to the latest compatible version. Followings are version details:

  • Affected version(s): < 8.2.3
  • Patched version(s): 8.2.3

References

Could your website be exposed too?

SmartScanner can check your website for Utils.readChallengeTx does not verify the server account signature and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 27, 2023