Lucene search
K

Lack of double step transfer in admin modification in a upgradeable contract is dangerous

🗓️ 03 Feb 2023 00:00:00Reported by Code4renaType 
code423n4
 code423n4
🔗 github.com👁 15 Views

Lack of double step transfer in admin modification in a upgradeable contract is dangerous. Admin is changed with changeAdmin that calls _changeAdmin, this is a 1 step transfer provided by ERC1967Proxy. If wrongly set to a malicious actor, contract can call upgradeTo or upgradeToAndCall and destroy the contract. Ownership can be lost, contract can be destroyed calling upgradeTo or upgradeToAndCall from UUPSUpgradeable

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation