<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://quadrigainitiative.com/cryptocurrencyhackscamfraudwiki/index.php?action=history&amp;feed=atom&amp;title=Bunker_Finance_Function_Parameter_Vulnerability</id>
	<title>Bunker Finance Function Parameter Vulnerability - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://quadrigainitiative.com/cryptocurrencyhackscamfraudwiki/index.php?action=history&amp;feed=atom&amp;title=Bunker_Finance_Function_Parameter_Vulnerability"/>
	<link rel="alternate" type="text/html" href="https://quadrigainitiative.com/cryptocurrencyhackscamfraudwiki/index.php?title=Bunker_Finance_Function_Parameter_Vulnerability&amp;action=history"/>
	<updated>2026-05-24T02:03:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>https://quadrigainitiative.com/cryptocurrencyhackscamfraudwiki/index.php?title=Bunker_Finance_Function_Parameter_Vulnerability&amp;diff=5638&amp;oldid=prev</id>
		<title>Azoundria: Created page with &quot;{{Imported Case Study|source=https://www.quadrigainitiative.com/casestudy/bunkerfinancefunctionparametervulnerability.php}} {{Unattributed Sources}}  Bunker Finance Logo/HomepageBunker Finance is an NFT borrowing protocol, which allows users to borrow funds against their NFTs, or to lend funds and earn interest. On April 15th, 2022, the protocol was provided with details of an exploit, which would have allowed users of the protocol to ste...&quot;</title>
		<link rel="alternate" type="text/html" href="https://quadrigainitiative.com/cryptocurrencyhackscamfraudwiki/index.php?title=Bunker_Finance_Function_Parameter_Vulnerability&amp;diff=5638&amp;oldid=prev"/>
		<updated>2024-04-08T22:41:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Imported Case Study|source=https://www.quadrigainitiative.com/casestudy/bunkerfinancefunctionparametervulnerability.php}} {{Unattributed Sources}}  &lt;a href=&quot;/cryptocurrencyhackscamfraudwiki/index.php?title=File:Bunkerfinance.jpg&quot; title=&quot;File:Bunkerfinance.jpg&quot;&gt;thumb|Bunker Finance Logo/Homepage&lt;/a&gt;Bunker Finance is an NFT borrowing protocol, which allows users to borrow funds against their NFTs, or to lend funds and earn interest. On April 15th, 2022, the protocol was provided with details of an exploit, which would have allowed users of the protocol to ste...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Imported Case Study|source=https://www.quadrigainitiative.com/casestudy/bunkerfinancefunctionparametervulnerability.php}}&lt;br /&gt;
{{Unattributed Sources}}&lt;br /&gt;
&lt;br /&gt;
[[File:Bunkerfinance.jpg|thumb|Bunker Finance Logo/Homepage]]Bunker Finance is an NFT borrowing protocol, which allows users to borrow funds against their NFTs, or to lend funds and earn interest. On April 15th, 2022, the protocol was provided with details of an exploit, which would have allowed users of the protocol to steal NFTs provided as collateral by other users. The vulnerability required the user to provide their NFT as collateral with an incorrect count of tokens provided, then sell or transfer the NFT to another user who also provided the same NFT as collateral. Deposits of NFTs were temporarily suspended while the issue was resolved. shunwilly was ultimately provided with an undisclosed bounty amount.&lt;br /&gt;
&lt;br /&gt;
This is a global/international case not involving a specific country.&amp;lt;ref name=&amp;quot;newsletter-13117&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;bunkerfinancemedium-13253&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;bunkerfinance-13254&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;bunkerfinancetwitter-13255&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;bunkerfinance-13256&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;bunkerfinance-13257&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== About Bunker Finance ==&lt;br /&gt;
&amp;quot;Get a loan using your NFTs Bunker is the easiest way to borrow against your NFTs&amp;quot; &amp;quot;bunker.finance allows you to instantly lend and borrow without needing to wait to match borrowers and lenders. Our protocol currently allows you to borrow against CryptoPunks but more NFT collections will soon become available to use as collateral.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Each NFT collection has its own, separate lending market on Bunker.&amp;quot; &amp;quot;Borrow as much as you need and repay whenever you like.&amp;quot; &amp;quot;As a lender, you earn interest every single block, and can withdraw your capital at any time.&amp;quot; &amp;quot;We allow borrowers to take out loans instantly and enable lenders to immediately start earning interest. Borrowers no longer need to wait to be matched manually to a lender and vice versa.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Bunker is a platform for NFT-backed loans. As a borrower, you can use any supported NFT as collateral for a loan of ETH or ERC-20 tokens. As a lender, you can deposit ETH or ERC-20 tokens into a lending pool for any supported NFT collection and immediately start earning interest.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;NFTs deposited to Bunker are represented as bNFTs. To mint a bNFT, visit the pools page, and select the appropriate pool. You should see all of your NFTs belonging to the specified collection in the ‘Collateral’ section. Simply click on the ‘Wrap’ button to wrap your NFT as a bNFT. While a bNFT is being used as collateral for a loan, it cannot be transferred from your wallet until the loan is fully repaid. When the bNFT is not actively being used as collateral, it is freely transferable.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Bunker Finance patched a function parameter validation vulnerability in its CryptoPunks lending pool thanks to a responsible disclosure by shenwilly.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;When depositing NFTs as collateral on Bunker, users receive bNFTs (referred to internally as cNFTs). The cNFT contract is an ERC-1155 compliant wrapper that stores an underlying ERC-1155, ERC-721, or CryptoPunk and enables it to be used as collateral on Bunker.&lt;br /&gt;
&lt;br /&gt;
When minting cNFTs with ERC721 or Punks, the param amounts is not checked. Anyone can input a large value and that amount of CNft will be minted to them. They can then redeem the NFT, while still having leftover CNfts corresponding to that NFT. This means that when the NFT has changed hands and gets deposited into CNft again, the attacker can redeem it again and steal the NFT.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Attacker calls mint, using their punkId as tokenId and 5 as the amount. Attacker receives 5 CNfts. Attacker calls redeem to retrieve their punk. Left with 4 CNfts. Attacker sells the punk to Alice. Alice calls mint using the same punk. Attacker can now redeem the punk, stealing it from Alice.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;The mint function of CNft as well as the seize and redeem functions have all been updated to check that amounts has not incorrectly specified. For all non-ERC1155s, amounts can now only be 1. These updates will be included in v2 of our protocol, which will be going live shortly. In the mean time, depositing collateral on v1 remains paused but assets can be withdrawn at any time.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;As a result, no assets were lost as a result of the vulnerability and a fix has been included in our upcoming v2 release. Details of our upcoming audit contest and bug bounty program will be published soon. In the meantime, please reach out to us via Discord for any vulnerability disclosures.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;quot;We would like to thank @shenwilly_ again, as well as our security team for responding quickly and preventing any losses.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This is a global/international case not involving a specific country.&lt;br /&gt;
&lt;br /&gt;
The background of the exchange platform, service, or individuals involved, as it would have been seen or understood at the time of the events.&lt;br /&gt;
&lt;br /&gt;
Include:&lt;br /&gt;
&lt;br /&gt;
* Known history of when and how the service was started.&lt;br /&gt;
* What problems does the company or service claim to solve?&lt;br /&gt;
* What marketing materials were used by the firm or business?&lt;br /&gt;
* Audits performed, and excerpts that may have been included.&lt;br /&gt;
* Business registration documents shown (fake or legitimate).&lt;br /&gt;
* How were people recruited to participate?&lt;br /&gt;
* Public warnings and announcements prior to the event.&lt;br /&gt;
&lt;br /&gt;
Don't Include:&lt;br /&gt;
* Any wording which directly states or implies that the business is/was illegitimate, or that a vulnerability existed.&lt;br /&gt;
* Anything that wasn't reasonably knowable at the time of the event.&lt;br /&gt;
There could be more than one section here. If the same platform is involved with multiple incidents, then it can be linked to a main article page.&lt;br /&gt;
&lt;br /&gt;
== The Reality ==&lt;br /&gt;
This sections is included if a case involved deception or information that was unknown at the time. Examples include:&lt;br /&gt;
&lt;br /&gt;
* When the service was actually started (if different than the &amp;quot;official story&amp;quot;).&lt;br /&gt;
* Who actually ran a service and their own personal history.&lt;br /&gt;
* How the service was structured behind the scenes. (For example, there was no &amp;quot;trading bot&amp;quot;.)&lt;br /&gt;
* Details of what audits reported and how vulnerabilities were missed during auditing.&lt;br /&gt;
&lt;br /&gt;
== What Happened ==&lt;br /&gt;
The specific events of the loss and how it came about. What actually happened to cause the loss and some of the events leading up to it.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+Key Event Timeline - Bunker Finance Function Parameter Vulnerability&lt;br /&gt;
!Date&lt;br /&gt;
!Event&lt;br /&gt;
!Description&lt;br /&gt;
|-&lt;br /&gt;
|April 15th, 2022 8:36:00 PM MDT&lt;br /&gt;
|Announced Pause&lt;br /&gt;
|The Bunker Finance team announces that depositing collateral on the CryptoPunks pool is temporarily paused while they investigate a vulnerability. &amp;quot;Your deposited punks and supplied funds are safe and can be withdrawn at any time.&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|April 25th, 2022 6:36:59 PM MDT&lt;br /&gt;
|Medium Article&lt;br /&gt;
|A medium article is published on the responsible disclosure.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Technical Details ==&lt;br /&gt;
This section includes specific detailed technical analysis of any security breaches which happened. What specific software vulnerabilities contributed to the problem and how were they exploited?&lt;br /&gt;
&lt;br /&gt;
== Total Amount Lost ==&lt;br /&gt;
No funds were lost.&lt;br /&gt;
&lt;br /&gt;
How much was lost and how was it calculated? If there are conflicting reports, which are accurate and where does the discrepancy lie?&lt;br /&gt;
&lt;br /&gt;
== Immediate Reactions ==&lt;br /&gt;
How did the various parties involved (firm, platform, management, and/or affected individual(s)) deal with the events? Were services shut down? Were announcements made? Were groups formed?&lt;br /&gt;
&lt;br /&gt;
== Ultimate Outcome ==&lt;br /&gt;
What was the end result? Was any investigation done? Were any individuals prosecuted? Was there a lawsuit? Was any tracing done?&lt;br /&gt;
&lt;br /&gt;
== Total Amount Recovered ==&lt;br /&gt;
There do not appear to have been any funds recovered in this case.&lt;br /&gt;
&lt;br /&gt;
What funds were recovered? What funds were reimbursed for those affected users?&lt;br /&gt;
&lt;br /&gt;
== Ongoing Developments ==&lt;br /&gt;
What parts of this case are still remaining to be concluded?&lt;br /&gt;
== Individual Prevention Policies ==&lt;br /&gt;
{{Prevention:Individuals:Placeholder}}&lt;br /&gt;
&lt;br /&gt;
{{Prevention:Individuals:End}}&lt;br /&gt;
&lt;br /&gt;
== Platform Prevention Policies ==&lt;br /&gt;
{{Prevention:Platforms:Placeholder}}&lt;br /&gt;
&lt;br /&gt;
{{Prevention:Platforms:End}}&lt;br /&gt;
&lt;br /&gt;
== Regulatory Prevention Policies ==&lt;br /&gt;
{{Prevention:Regulators:Placeholder}}&lt;br /&gt;
&lt;br /&gt;
{{Prevention:Regulators:End}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references&amp;gt;&amp;lt;ref name=&amp;quot;newsletter-13117&amp;quot;&amp;gt;[https://newsletter.blockthreat.io/p/blockthreat-week-25-2022 BlockThreat - Week 25, 2022 - by Peter Kacherginsky] (Mar 18, 2024)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;bunkerfinancemedium-13253&amp;quot;&amp;gt;[https://medium.com/@bunker_finance/bunker-finance-vulnerability-postmorterm-bnft-amount-manipulation-540ecce6e6e2 Bunker.finance Vulnerability Postmortem — BNft Amount Manipulation | by bunker.finance | Medium] (Apr 8, 2024)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;bunkerfinance-13254&amp;quot;&amp;gt;[https://bunker.finance/ https://bunker.finance/] (Apr 8, 2024)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;bunkerfinancetwitter-13255&amp;quot;&amp;gt;[https://twitter.com/bunker_finance/status/1515157253829013504 @bunker_finance Twitter] (Apr 8, 2024)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;bunkerfinance-13256&amp;quot;&amp;gt;[https://bunker.finance/docs https://bunker.finance/docs] (Apr 8, 2024)&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;bunkerfinance-13257&amp;quot;&amp;gt;[https://bunker.finance/docs/overview/wrapping-and-unwrapping-bNFTs https://bunker.finance/docs/overview/wrapping-and-unwrapping-bNFTs] (Apr 8, 2024)&amp;lt;/ref&amp;gt;&amp;lt;/references&amp;gt;&lt;/div&gt;</summary>
		<author><name>Azoundria</name></author>
	</entry>
</feed>