Categories: Breaking NewsHacking

A PayPal stored XSS vulnerability exposed users to hack

Security experts at BitDefender have discovered a PayPal stored XSS vulnerability that could be exploited by hackers run various attacks on PayPal users.

Security researchers at Bitdefender have discovered a PayPal stored XSS vulnerability in the e-payment service that could be exploited by attackers to upload specifically crafted files to hack registered users.

The PayPal stored XSS vulnerability can be used to deliver malicious files in order to carry on a wide range of attacks.

The PayPal store XSS vulnerability affects the way the URLs that transport uploaded files are encrypted, the experts also published a proof-of-concept of the attack to exploit the ‘Create an Invoice’ section of the PayPal platform.

“The problem lies in the way PayPal processes and encrypts URLs that pull uploaded files. Our proof-of-concept using an HTML-formatted XML file, uploading it via the “Create an Invoice” section. Because the “id” parameter for each uploaded file takes the value of a cipher text encoded in base64 and uses the CBC (cipher block chaining) ciphering mode, the attack involved changing a series of bytes from each cipher block in order to force the PayPal server to execute the malicious payload.” states the blog post published by BitDefender.

The researchers were able to manipulate the URL that pulls upload files from PayPal’s servers and force the execution of a malicious payload on PayPal’s server.

The experts created an XML file and uploaded to PayPal’s server, by tampering the URL used to transfer the produced errors and analyzed the server response to discovered the encryption mechanism.

In this way they discovered the full path to the PayPal stored XSS, then they uploaded a second file with a pre-determined name and divided into blocks of 16.

The researcher noticed that each block was changed in output due simple modifications, researchers were able to tune the a response from PayPal that resulted in a link that could be used to attack its users.

Let’s remind that “reflected file download,” vulnerability could be used to serve a file to the victims that appear as originated from the affected platform. The attack is dangerous because victims trust the file due to its origin and with trivial social engineering tricks they could be forced to open it, starting in this way the infection process.

The exploitation of the PayPal XSS flaw only worked in Firefox, the researchers confirmed that it has not been reported in the wild, but due to its disclosure PayPal promptly has issued a fix to solve the problem.

“The huge reach that cyber attackers had access to through this vulnerability was a worrying development for a service that prides itself on security.” said Catalin Cosoi, Chief Security Strategist at Bitdefender. 

Pierluigi Paganini

(Security Affairs – PayPal stored XSS , hacking)

Pierluigi Paganini

Pierluigi Paganini is member of the ENISA (European Union Agency for Network and Information Security) Threat Landscape Stakeholder Group and Cyber G7 Group, he is also a Security Evangelist, Security Analyst and Freelance Writer. Editor-in-Chief at "Cyber Defense Magazine", Pierluigi is a cyber security expert with over 20 years experience in the field, he is Certified Ethical Hacker at EC Council in London. The passion for writing and a strong belief that security is founded on sharing and awareness led Pierluigi to find the security blog "Security Affairs" recently named a Top National Security Resource for US. Pierluigi is a member of the "The Hacker News" team and he is a writer for some major publications in the field such as Cyber War Zone, ICTTF, Infosec Island, Infosec Institute, The Hacker News Magazine and for many other Security magazines. Author of the Books "The Deep Dark Web" and “Digital Virtual Currency and Bitcoin”.

Recent Posts

FBI chief says China is preparing to attack US critical infrastructure

China-linked threat actors are preparing cyber attacks against U.S. critical infrastructure warned FBI Director Christopher…

12 hours ago

United Nations Development Programme (UNDP) investigates data breach

The United Nations Development Programme (UNDP) has initiated an investigation into an alleged ransomware attack…

14 hours ago

FIN7 targeted a large U.S. carmaker with phishing attacks

BlackBerry reported that the financially motivated group FIN7 targeted the IT department of a large…

1 day ago

Law enforcement operation dismantled phishing-as-a-service platform LabHost

An international law enforcement operation led to the disruption of the prominent phishing-as-a-service platform LabHost.…

1 day ago

Previously unknown Kapeka backdoor linked to Russian Sandworm APT

Russia-linked APT Sandworm employed a previously undocumented backdoor called Kapeka in attacks against Eastern Europe since…

1 day ago

Cisco warns of a command injection escalation flaw in its IMC. PoC publicly available

Cisco has addressed a high-severity vulnerability in its Integrated Management Controller (IMC) for which publicly…

2 days ago

This website uses cookies.