Questions tagged [laravel]
Laravel is a PHP framework.
22 questions
-1
votes
1
answer
60
views
(Web App Hardening) Modern Laravel Car Rental Application Security Advice for CRUD Structure of Sensitive Documents [closed]
I am finalizing the security architecture for a new Laravel car rental platform that must store highly sensitive personally identifiable information (PII), specifically driver's licenses.
My primary ...
0
votes
1
answer
120
views
Is my approach to SSH-based addon installation via PHP backend secure?
I’ve developed a web interface that allows users to install or remove specific game addons. The site is hosted with Nginx, uses PHP on the backend, and is served over HTTPS.
To perform an installation ...
3
votes
0
answers
844
views
Automated bot/spammer bypassing google recaptcha v2
I have a Laravel registration form with the invisible google recaptcha v2 installed with the security set to highest level within the recaptcha admin console - code as follows:
<div>
<div ...
0
votes
1
answer
651
views
Hidden Input prevent value changing - Laravel
So I was testing my application for some vulerabilities and found one that I missed:
<input class="hidden" type="hidden" name="event_id" value="{{$event->id)}}&...
1
vote
2
answers
1k
views
SQL Injection detected
I was loading my sites front end and watching the responses in burpsuite when I noticed a response which contained a very verbose sql error
"message": "SQLSTATE[22P02]: Invalid text ...
0
votes
1
answer
428
views
How to secure Laravel website against the ongoing massive exploitation
My website built upon Laravel is currently under attack.
Only the index.php file was changed, and by that I mean that every line of code is inserted above the original Laravel code. So this code ...
0
votes
1
answer
337
views
What should I worry about when attaching a token to a request manually?
I'm developing a platform that has 2 parts:
An API written using Laravel, that integrates with the database and provided data in a restful state.
Multiple fronts that connect to the API and perform ...
0
votes
0
answers
143
views
Taking html, js, css input from the user
We are building a multitenancy web app with Laravel (+Blade), each user can create a store (tenancy), and have a control panel where they can edit the store settings and styling, to edit the store ...
2
votes
2
answers
267
views
Is there any way an attacker can access the server and modify the site (php) code? [closed]
I recently had a breach on my site (laravel). I got aware of it after I tried to pull the code from github and found out that some files were modified.
The files modified were mostly storage - logs/...
0
votes
2
answers
1k
views
How do I protect a Laravel backend API from hijacking/CSRF when there is a React frontend?
I'm finding it really hard to find a solution to make secure requests via our API without a potential hacker being able to see sensitive secret information via Google Chrome dev tools (or any browser'...
0
votes
2
answers
391
views
Security breach from contact form in Laravel 5.8.36?
the most bizarre thing happened, someone fount out the smtp mail driver credentials from a Laravel project, which are stored in the .env.
The credentials are used for a contact form. The .env was in ...
0
votes
1
answer
230
views
Laravel | Why create a public_html folder and link/move it?
I am using laravel on shared hosting.
Under my domain in my folder is the laravel app.
Now I see online that many people do weird stuff with the laravel public folder, they either move it to a ...
2
votes
0
answers
1k
views
Identifying Source of Malware Attack on Laravel App
We have a Laravel 5.6.x application running as a REST backend with PHP 7 on one of our servers. The server uses CentOS with WHM/cPanel/PhpMyAdmin
Recently that server issued a maldet warning (our ...
2
votes
1
answer
5k
views
Missing HTTPOnly Cookie Attribute in Laravel 7 [duplicate]
I have a Laravel site, I thought I patched this issue already.
I got these in my session.php
'secure' => true,
'http_only' => true,
But OpenVas still detected that I still need to it.
It ...
0
votes
1
answer
322
views
Is it more secure if I separate VPS into WebApp/MySQL VPS & separating WebApp projects into Admin/User projects
If I want to deploy a Laravel WebApp using MySQL DB on a VPS like DigitalOcean, Vultr or similar platforms, should I separate the VPS into WebApp VPS and MySQL VPS? Is it more secure?
And what if I ...