Skip to main content

Insecure service configuration - Object Reutilization


The system does not validate that objects, data or information, valid for one use only can be reused.


Abuse functionalities that should be accessed once.


Implement validations to guarantee that One-Time data. cannot be reused.


Anonymous attacker from the Internet.

Expected Remediation Time

⌚ 90 minutes.


Default score using CVSS 3.1. It may change depending on the context of the vulnerability.


  • Attack vector: N
  • Attack complexity: L
  • Privileges required: N
  • User interaction: N
  • Scope: U
  • Confidentiality: N
  • Integrity: L
  • Availability: N


  • Exploit code madurity: H
  • Remediation level: U
  • Report confidence: C


  • Vector string: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:H/RL:U/RC:C
  • Score:
    • Base: 5.3
    • Temporal: 5.3
  • Severity:
    • Base: Medium
    • Temporal: Medium

Code Examples

Compliant code

The OTP generated is correctly expired after a single use

const logIn = (req, res) => {
if (isValidUser(req.body.user)) {
if (validateToken == req.body.token || req.body.password = user.OTpasswd){
user.OTPasswd = Null
//Code to handle user sign in

Non compliant code

The OTP generated is not expired after the user uses it to sign in for the first time

const logIn = (req, res) => {
if (isValidUser(req.body.user)) {
if (validateToken == req.body.token || req.body.password = user.OTpasswd){
//Code to handle user sign in


free trial

Search for vulnerabilities in your apps for free with our automated security testing! Start your 21-day free trial and discover the benefits of our Continuous Hacking Machine Plan. If you prefer a full service that includes the expertise of our ethical hackers, don't hesitate to contact us for our Continuous Hacking Squad Plan.